summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-09-20 16:44:53 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-10-03 10:53:17 +0200
commite4b2823abdd649325308489538b994b341c13fa3 (patch)
tree45d362fbb74a0081e0c82ffa769433d1436f92d1 /searx/static
parentcbf1e9097929cf851d31bfd17e87bec7d1e51422 (diff)
downloadsearxng-e4b2823abdd649325308489538b994b341c13fa3.tar.gz
searxng-e4b2823abdd649325308489538b994b341c13fa3.zip
[feat] simple theme: pure black theme style
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/themes/simple/src/less/definitions.less13
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less
index 45d5c878d..7d946f40e 100644
--- a/searx/static/themes/simple/src/less/definitions.less
+++ b/searx/static/themes/simple/src/less/definitions.less
@@ -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;