[feat] simple theme: pure black theme style

This commit is contained in:
Bnyro 2024-09-20 16:44:53 +02:00 committed by Markus Heiser
parent cbf1e90979
commit e4b2823abd
6 changed files with 18 additions and 4 deletions

View file

@ -229,6 +229,14 @@
--color-doc-code-background: #4d5a6f;
}
.black-themes() {
--color-base-background: #000;
--color-base-background-mobile: #000;
--color-header-background: #000;
--color-footer-background: #000;
--color-sidebar-background: #000;
}
/// Dark Theme (autoswitch based on device pref)
@media (prefers-color-scheme: dark) {
:root.theme-auto {
@ -241,6 +249,11 @@
.dark-themes();
}
:root.theme-black {
.dark-themes();
.black-themes();
}
/// General Size
@results-width: 45rem;
@results-sidebar-width: 25rem;