Move favicon designer presets to JSON

This commit is contained in:
2026-01-18 00:17:39 +00:00
parent c901b8d8ec
commit 041e071961
2 changed files with 67 additions and 31 deletions

View File

@@ -0,0 +1,36 @@
{
"presetSizes": [16, 32, 48, 64, 128, 256, 512],
"elementTypes": [
{ "value": "circle", "label": "Circle" },
{ "value": "square", "label": "Square" },
{ "value": "triangle", "label": "Triangle" },
{ "value": "star", "label": "Star" },
{ "value": "heart", "label": "Heart" },
{ "value": "polygon", "label": "Polygon" },
{ "value": "text", "label": "Text" },
{ "value": "emoji", "label": "Emoji" }
],
"defaultDesign": {
"id": "default",
"name": "My Favicon",
"size": 128,
"backgroundColor": "#7c3aed",
"elements": [
{
"id": "1",
"type": "text",
"x": 64,
"y": 64,
"width": 100,
"height": 100,
"color": "#ffffff",
"rotation": 0,
"text": "CF",
"fontSize": 48,
"fontWeight": "bold"
}
],
"createdAt": 0,
"updatedAt": 0
}
}