diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-10-31 11:22:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-31 11:22:12 +0100 |
| commit | e4025cd1644e749168d40f63cf6720e7764b6a7f (patch) | |
| tree | 08567818180de3cbced623307ad8bf352e0ad66a /searx/static/themes/simple/src/less/definitions.less | |
| parent | a6c48062398536ac588b3932bbc4de3652416604 (diff) | |
| parent | 6782830a4ab937b5d29c6089f2839179b7a5afa0 (diff) | |
Merge pull request #460 from dalf/simple-minor-fixes
Simple theme: various fixes
Diffstat (limited to 'searx/static/themes/simple/src/less/definitions.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/definitions.less | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less index 9df9019f2..d2e91f1c3 100644 --- a/searx/static/themes/simple/src/less/definitions.less +++ b/searx/static/themes/simple/src/less/definitions.less @@ -5,9 +5,10 @@ */ /// Light Theme -html { +:root { /// Base Colors --color-base-font: #444; + --color-base-font-rgb: 68, 68, 68; --color-base-background: #fff; --color-url-font: #29314d; --color-url-visited-font: #80b; @@ -105,9 +106,10 @@ html { /// Dark Theme (autoswitch based on device pref) @media (prefers-color-scheme: dark) { - html { + :root { /// Base Colors --color-base-font: #bbb; + --color-base-font-rgb: 187, 187, 187; --color-base-background: #222; --color-url-font: #8af; --color-url-visited-font: #96b; @@ -230,3 +232,7 @@ html { @icon-font-name: "glyphicons-halflings-regular"; //** Element ID within SVG icon file. @icon-font-svg-id: "glyphicons_halflingsregular"; + +// decoration of the select HTML elements +@select-light-svg-path: "../svg/select-light.svg"; +@select-dark-svg-path: "../svg/select-dark.svg"; |