답변 4개
답변에 대한 댓글 2개
댓글을 작성하려면 로그인이 필요합니다.
안녕하세요. 해당 기능에 오류가 있는 것으로 확인되어 아래 작업을 통해 수정했습니다.
https://github.com/gnuboard/g6/pull/514">fix: 다크모드 버튼 오류 수정 #514
제보해주셔서 감사합니다 :)
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
둘레아빠님 알려주셔서 감사합니다.
css만 바꿔서는 안되고 base.html 부분도 바꿔줘야 하네요.
아래와 같이 수정해주면 됩니다.
../templates/basic/static/css/default.css, 184~187
#darkmode-toggle-switch { position:fixed; bottom:20px; right:80px; width:50px; height:50px; border:0; text-align:center; border-radius: 3px; background: var(--primaryColor); color: #fff; display: flex; justify-content: center; align-items: center; cursor: pointer; }
#darkmode-toggle-switch .visible { width:24px; height:24px; vertical-align:middle; }
#darkmode-toggle-switch .visible.dark { display: var(--lightVisible) }
#darkmode-toggle-switch .visible.bright { display: var(--darkVisible) }
../templates/basic/base.html, 213번
<button type="button" id="darkmode-toggle-switch">
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
g6/template/basic/static/css/default.css
css 파일은 찾았는데 어느 부위를 수정하면 될까요...?