Skip to content

Commit bb4c432

Browse files
committed
nav.js: fix CodeMirror gutters in dark mode
1 parent 52adaba commit bb4c432

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

assets/nav.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@
108108
body.dark-mode #nav-errors-link { color:#e8b400 !important; }
109109
body.dark-mode .sidebar a.active { color:#e8b400 !important; font-weight:700; }
110110
body.dark-mode #nav-dark-btn { background:#313244 !important; color:#cdd6f4 !important; border-color:#45475a !important; }
111-
body.dark-mode .CodeMirror { background:#1e1e2e !important; }
111+
body.dark-mode .CodeMirror { background:#1e1e2e !important; color:#cdd6f4 !important; }
112+
body.dark-mode .CodeMirror-gutters { background:#181825 !important; border-color:#313244 !important; }
113+
body.dark-mode .CodeMirror-linenumber { color:#6c7086 !important; }
114+
body.dark-mode .CodeMirror-scroll { background:#1e1e2e !important; }
112115
body.dark-mode input, body.dark-mode select, body.dark-mode textarea { background:#181825 !important; color:#cdd6f4 !important; }
113116
body.dark-mode ::placeholder { color:#6c7086 !important; }
114117
body.dark-mode .hero-link { color:#89b4fa !important; border-color:#89b4fa !important; }

0 commit comments

Comments
 (0)