[web-client] simple theme: move SVGs to client/simple/src and deploy to static by plg_svg2svg
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
91a18e7d68
commit
b06f840d31
BIN
client/simple/src/svg/empty_favicon.svg
Normal file
BIN
client/simple/src/svg/empty_favicon.svg
Normal file
Binary file not shown.
After Width: | Height: | Size: 989 B |
@ -25,6 +25,7 @@ const simple_icons = [
|
|||||||
"appstore": "apps-outline.svg",
|
"appstore": "apps-outline.svg",
|
||||||
"book": "book-outline.svg",
|
"book": "book-outline.svg",
|
||||||
"close": "close-outline.svg",
|
"close": "close-outline.svg",
|
||||||
|
"download": "download-outline.svg",
|
||||||
"ellipsis-vertical": "ellipsis-vertical-outline.svg",
|
"ellipsis-vertical": "ellipsis-vertical-outline.svg",
|
||||||
"file-tray-full": "file-tray-full-outline.svg",
|
"file-tray-full": "file-tray-full-outline.svg",
|
||||||
"film": "film-outline.svg",
|
"film": "film-outline.svg",
|
||||||
@ -33,6 +34,7 @@ const simple_icons = [
|
|||||||
"image": "image-outline.svg",
|
"image": "image-outline.svg",
|
||||||
"information-circle": "information-circle-outline.svg",
|
"information-circle": "information-circle-outline.svg",
|
||||||
"layers": "layers-outline.svg",
|
"layers": "layers-outline.svg",
|
||||||
|
"leecher": "arrow-down.svg",
|
||||||
"location": "location-outline.svg",
|
"location": "location-outline.svg",
|
||||||
"magnet": "magnet-outline.svg",
|
"magnet": "magnet-outline.svg",
|
||||||
"musical-notes": "musical-notes-outline.svg",
|
"musical-notes": "musical-notes-outline.svg",
|
||||||
@ -44,8 +46,10 @@ const simple_icons = [
|
|||||||
"people": "people-outline.svg",
|
"people": "people-outline.svg",
|
||||||
"play": "play-outline.svg",
|
"play": "play-outline.svg",
|
||||||
"radio": "radio-outline.svg",
|
"radio": "radio-outline.svg",
|
||||||
|
"save": "save-outline.svg",
|
||||||
"school": "school-outline.svg",
|
"school": "school-outline.svg",
|
||||||
"search": "search-outline.svg",
|
"search": "search-outline.svg",
|
||||||
|
"seeder": "swap-vertical.svg",
|
||||||
"settings": "settings-outline.svg",
|
"settings": "settings-outline.svg",
|
||||||
"tv": "tv-outline.svg",
|
"tv": "tv-outline.svg",
|
||||||
},
|
},
|
||||||
|
@ -13,7 +13,7 @@ template. This file from:
|
|||||||
{%-
|
{%-
|
||||||
set catalog = {
|
set catalog = {
|
||||||
@each((svg, name) in svg_catalog)
|
@each((svg, name) in svg_catalog)
|
||||||
"{{{name}}}" : """{{{svg}}}""",
|
'{{{name}}}' : '{{{svg}}}',
|
||||||
@end
|
@end
|
||||||
}
|
}
|
||||||
-%}
|
-%}
|
||||||
|
@ -137,6 +137,17 @@ export default defineConfig({
|
|||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
// -- svg images
|
||||||
|
|
||||||
|
plg_svg2svg(
|
||||||
|
[
|
||||||
|
{ src: PATH.src + "/svg/empty_favicon.svg", dest: PATH.dist + "/img/empty_favicon.svg" },
|
||||||
|
{ src: PATH.src + "/svg/select-dark.svg", dest: PATH.dist + "/img/select-dark.svg" },
|
||||||
|
{ src: PATH.src + "/svg/select-light.svg", dest: PATH.dist + "/img/select-light.svg" },
|
||||||
|
],
|
||||||
|
svg2svg_opts,
|
||||||
|
),
|
||||||
|
|
||||||
// SearXNG brand (static)
|
// SearXNG brand (static)
|
||||||
|
|
||||||
plg_svg2png(
|
plg_svg2png(
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 966 B |
BIN
searx/static/themes/simple/img/select-dark.svg
Normal file
BIN
searx/static/themes/simple/img/select-dark.svg
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 B |
BIN
searx/static/themes/simple/img/select-light.svg
Normal file
BIN
searx/static/themes/simple/img/select-light.svg
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 B |
Loading…
Reference in New Issue
Block a user