mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[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.
This commit is contained in:
parent
67b0b68b40
commit
d0a3164514
4 changed files with 19 additions and 1 deletions
4
searx/static/themes/simple/src/svg/select-dark.svg
Normal file
4
searx/static/themes/simple/src/svg/select-dark.svg
Normal file
|
|
@ -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>
|
||||
|
After Width: | Height: | Size: 196 B |
4
searx/static/themes/simple/src/svg/select-light.svg
Normal file
4
searx/static/themes/simple/src/svg/select-light.svg
Normal file
|
|
@ -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>
|
||||
|
After Width: | Height: | Size: 184 B |
Loading…
Add table
Add a link
Reference in a new issue