Skip to content

Commit 14c066d

Browse files
committed
Dark mode: fix hero buttons visibility
1 parent 3d6ae5f commit 14c066d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

assets/nav.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@
111111
body.dark-mode .CodeMirror { background:#1e1e2e !important; }
112112
body.dark-mode input, body.dark-mode select, body.dark-mode textarea { background:#181825 !important; color:#cdd6f4 !important; }
113113
body.dark-mode ::placeholder { color:#6c7086 !important; }
114+
body.dark-mode .hero-link { color:#89b4fa !important; border-color:#89b4fa !important; }
115+
body.dark-mode .hero-link:hover { border-color:#cdd6f4 !important; color:#cdd6f4 !important; }
116+
body.dark-mode .hero-btn-download { background:#e8b400 !important; color:#111 !important; }
117+
body.dark-mode a[href='/editor'], body.dark-mode a[href='/editor/'] { background:#4b9cd3 !important; color:#fff !important; }
114118
`;
115119
document.head.appendChild(style);
116120
}

0 commit comments

Comments
 (0)