diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-10-30 11:51:52 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-10-30 22:33:34 +0200 |
| commit | d0a31645145aa34dc41e0f4defcdf8c909b10416 (patch) | |
| tree | 85d4b11136c49452b279731f5f6c60da17c044d5 /searx/static/themes/simple/src/svg | |
| parent | 67b0b68b407b6080dd3b9e424eb2cfefbda87e13 (diff) | |
[fix] simple theme: /preferences: dark theme version for select widgets
It is not possible to use CSS variable in a SVG when this is in a background.
This commit adds two .svg files, less converts them into data URL.
The two files are indentical except the fill color.
Diffstat (limited to 'searx/static/themes/simple/src/svg')
| -rw-r--r-- | searx/static/themes/simple/src/svg/select-dark.svg | 4 | ||||
| -rw-r--r-- | searx/static/themes/simple/src/svg/select-light.svg | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/svg/select-dark.svg b/searx/static/themes/simple/src/svg/select-dark.svg new file mode 100644 index 000000000..97335cea5 --- /dev/null +++ b/searx/static/themes/simple/src/svg/select-dark.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"> +<g><polygon fill="#ddd" points="128,192 256,320 384,192"/></g> +</svg>
\ No newline at end of file diff --git a/searx/static/themes/simple/src/svg/select-light.svg b/searx/static/themes/simple/src/svg/select-light.svg new file mode 100644 index 000000000..3b707f018 --- /dev/null +++ b/searx/static/themes/simple/src/svg/select-light.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"> +<g><polygon points="128,192 256,320 384,192"/></g> +</svg>
\ No newline at end of file |