[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:
Markus Heiser 2025-02-05 13:28:19 +01:00
parent 91a18e7d68
commit b06f840d31
7 changed files with 16 additions and 1 deletions

Binary file not shown.

After

(image error) Size: 989 B

View File

@ -25,6 +25,7 @@ const simple_icons = [
"appstore": "apps-outline.svg",
"book": "book-outline.svg",
"close": "close-outline.svg",
"download": "download-outline.svg",
"ellipsis-vertical": "ellipsis-vertical-outline.svg",
"file-tray-full": "file-tray-full-outline.svg",
"film": "film-outline.svg",
@ -33,6 +34,7 @@ const simple_icons = [
"image": "image-outline.svg",
"information-circle": "information-circle-outline.svg",
"layers": "layers-outline.svg",
"leecher": "arrow-down.svg",
"location": "location-outline.svg",
"magnet": "magnet-outline.svg",
"musical-notes": "musical-notes-outline.svg",
@ -44,8 +46,10 @@ const simple_icons = [
"people": "people-outline.svg",
"play": "play-outline.svg",
"radio": "radio-outline.svg",
"save": "save-outline.svg",
"school": "school-outline.svg",
"search": "search-outline.svg",
"seeder": "swap-vertical.svg",
"settings": "settings-outline.svg",
"tv": "tv-outline.svg",
},

View File

@ -13,7 +13,7 @@ template. This file from:
{%-
set catalog = {
@each((svg, name) in svg_catalog)
"{{{name}}}" : """{{{svg}}}""",
'{{{name}}}' : '{{{svg}}}',
@end
}
-%}

View File

@ -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)
plg_svg2png(

Binary file not shown.

Before

(image error) Size: 989 B

After

(image error) Size: 966 B

Binary file not shown.

After

(image error) Size: 120 B

Binary file not shown.

After

(image error) Size: 108 B