Implemented InlineSvg component to fetch and color SVG logos dynamically.

This commit is contained in:
sHa
2025-04-29 12:16:41 +03:00
parent 69f6f30cb3
commit 3d90d9b0da
9 changed files with 380 additions and 34 deletions

View File

@@ -20,8 +20,8 @@
]
},
{
"name": "Apple (black)",
"path": "logos/apple_black.svg",
"name": "Apple",
"path": "logos/apple.svg",
"format": "SVG",
"disable": false,
"tags": [
@@ -29,19 +29,16 @@
"text": "tech",
"color": "silver"
}
]
},
{
"name": "Apple (silver)",
"path": "logos/apple_silver.svg",
"format": "SVG",
"disable": false,
"tags": [
{
"text": "tech",
"color": "silver"
}
]
],
"colors": [
{ "label": "Silver", "value": "#999" },
{ "label": "White", "value": "#fff" },
{ "label": "Black", "value": "#000" }
],
"colorConfig": {
"target": "path",
"attribute": "fill"
}
},
{
"name": "ATB",
@@ -315,6 +312,26 @@
"furniture"
]
},
{
"name": "Sendpulse Small",
"path": "logos/sendpulse-small.svg",
"format": "SVG",
"disable": false,
"tags": [
"marketing",
"email"
]
},
{
"name": "Sendpulse",
"path": "logos/sendpulse.svg",
"format": "SVG",
"disable": false,
"tags": [
"marketing",
"email"
]
},
{
"name": "Shkafnik",
"path": "logos/shkafnik.svg",