Skip to content

Commit 0dad866

Browse files
committed
nav.js: dark mode for tutorials index
1 parent f745cb5 commit 0dad866

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

assets/nav.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,19 @@
145145
body.dark-mode table td, body.dark-mode table th { border-color:#313244 !important; color:#cdd6f4 !important; background:#1e1e2e !important; }
146146
body.dark-mode .sidebar-outer { background:#181825 !important; }
147147
body.dark-mode .note, body.dark-mode .warning, body.dark-mode .tip { background:#181825 !important; border-color:#45475a !important; color:#cdd6f4 !important; }
148+
/* Tutorials index */
149+
body.dark-mode .tutorial-card { background:#1e1e2e !important; border-color:#313244 !important; }
150+
body.dark-mode .tutorial-card:hover { background:#313244 !important; }
151+
body.dark-mode .tc-title { color:#89b4fa !important; }
152+
body.dark-mode .tc-desc { color:#a6adc8 !important; }
153+
body.dark-mode .tc-body { background:#181825 !important; border-color:#313244 !important; }
154+
body.dark-mode .tc-arrow { color:#6c7086 !important; }
155+
body.dark-mode .section-desc { color:#a6adc8 !important; }
156+
body.dark-mode .subtitle { color:#6c7086 !important; }
157+
body.dark-mode .help-box { background:#181825 !important; border-color:#313244 !important; color:#a6adc8 !important; }
158+
body.dark-mode .content { background:#1a1a2e !important; }
159+
body.dark-mode .layout { background:#1a1a2e !important; }
160+
body.dark-mode .path { color:#6c7086 !important; }
148161
body.dark-mode .hero-link { color:#89b4fa !important; border-color:#89b4fa !important; }
149162
body.dark-mode .hero-link:hover { border-color:#cdd6f4 !important; color:#cdd6f4 !important; }
150163
body.dark-mode .hero-btn-download { background:#e8b400 !important; color:#111 !important; }

0 commit comments

Comments
 (0)