forked from Icycoide/searxng
[feat] simple theme: pure black theme style
This commit is contained in:
parent
cbf1e90979
commit
e4b2823abd
6 changed files with 18 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue