Refactor logo image handling across components

- Introduced utility functions to determine the base directory and image URL for logos based on their collection.
- Updated `Actions.svelte`, `CardFull.svelte`, `CardMiddle.svelte`, `CardSmall.svelte`, and `CardTiny.svelte` to use the new utility functions for generating image paths.
- Ensured that the correct image format (SVG, PNG, JPG) is used based on the logo's properties and active color sets.
This commit is contained in:
sHa
2025-06-18 12:27:27 +03:00
parent a7762803b8
commit 708334bcf4
526 changed files with 4676 additions and 193 deletions

View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24">
<path id="logo" fill="currentColor"
d="M6.256 15.698a6.52 6.52 0 0 0 1.25-3.848a6.52 6.52 0 0 0-2.011-4.716a6.5 6.5 0 0 0-.833-.678a6.5 6.5 0 0 0-2.881-1.095l-.002.002l1.251 5.1H0a6.03 6.03 0 0 0 4.253 4.991l.435 1.772a6.6 6.6 0 0 0 1.568-1.528m14.714-5.235l1.251-5.1l-.002-.002a6.5 6.5 0 0 0-2.881 1.095a6.6 6.6 0 0 0-.833.678a6.52 6.52 0 0 0-2.01 4.716a6.52 6.52 0 0 0 1.25 3.848a6.6 6.6 0 0 0 1.567 1.528l.435-1.772A6.03 6.03 0 0 0 24 10.462zm-7.615 3.543a.82.82 0 0 0 .821-.822a.82.82 0 0 0-.821-.821a.82.82 0 0 0-.822.821c0 .454.368.822.822.822m-2.71-1.643a.82.82 0 0 0-.82.821a.82.82 0 0 0 .82.822a.82.82 0 0 0 .823-.822a.82.82 0 0 0-.822-.821m-.538 2.897a7.8 7.8 0 0 0-4.13 2.533a7.8 7.8 0 0 0-1.342 2.252l2.184.013l12.444.056l.002-.004a7.83 7.83 0 0 0-9.157-4.85Zm3.247-4.91c.09 0 .178.018.26.046V7.263a2.448 2.448 0 0 1 4.5-1.332q.356-.298.749-.552a3.376 3.376 0 0 0-6.177 1.884v3.433a.82.82 0 0 1 .667-.346zM7.937 4.814a2.45 2.45 0 0 1 2.448 2.449v3.133a.8.8 0 0 1 .26-.046a.82.82 0 0 1 .668.346V7.263a3.38 3.38 0 0 0-3.376-3.376a3.38 3.38 0 0 0-2.8 1.492q.39.254.748.552a2.45 2.45 0 0 1 2.052-1.117" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB