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,5 @@
<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path id="circle" fill="none"
d="M12,0.039c-6.627,0 -12,5.354 -12,11.96c-0.001,6.606 5.372,11.963 12,11.962c6.628,-0.001 12.001,-5.356 12,-11.961c-0.001,-6.605 -5.373,-11.961 -12,-11.961" />
<path id="logo" fill="currentColor" d="M11.171,5.454l7.55,0l-7.58,5.329l5.182,0l-11.043,7.76l5.891,-13.089Z" />
</svg>

After

Width:  |  Height:  |  Size: 414 B