BetterDiscordApp-v2/tests/themes/Example/config.json

296 lines
12 KiB
JSON
Raw Normal View History

2018-02-05 15:06:53 +01:00
{
"info": {
2018-02-05 15:19:24 +01:00
"name": "Example Theme 1",
2018-02-05 15:06:53 +01:00
"authors": [ "Jiiks" ],
"version": 1.0,
2018-02-05 15:19:24 +01:00
"description": "Example Theme 1 Description",
2018-02-11 16:42:24 +01:00
"icon": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAwIDIwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGZpbGw9IiMzRTgyRTUiIGQ9Ik0xNDAyLjIsNjMxLjdjLTkuNy0zNTMuNC0yODYuMi00OTYtNjQyLjYtNDk2SDY4LjR2NzE0LjFsNDQyLDM5OFY0OTAuN2gyNTdjMjc0LjUsMCwyNzQuNSwzNDQuOSwwLDM0NC45SDU5Ny42djMyOS41aDE2OS44YzI3NC41LDAsMjc0LjUsMzQ0LjgsMCwzNDQuOGgtNjk5djM1NC45aDY5MS4yYzM1Ni4zLDAsNjMyLjgtMTQyLjYsNjQyLjYtNDk2YzAtMTYyLjYtNDQuNS0yODQuMS0xMjIuOS0zNjguNkMxMzU3LjcsOTE1LjgsMTQwMi4yLDc5NC4zLDE0MDIuMiw2MzEuN3oiLz48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI2Mi41LDEzNS4yTDEyNjIuNSwxMzUuMmwtNzYuOCwwYzI2LjYsMTMuMyw1MS43LDI4LjEsNzUsNDQuM2M3MC43LDQ5LjEsMTI2LjEsMTExLjUsMTY0LjYsMTg1LjNjMzkuOSw3Ni42LDYxLjUsMTY1LjYsNjQuMywyNjQuNmwwLDEuMnYxLjJjMCwxNDEuMSwwLDU5Ni4xLDAsNzM3LjF2MS4ybDAsMS4yYy0yLjcsOTktMjQuMywxODgtNjQuMywyNjQuNmMtMzguNSw3My44LTkzLjgsMTM2LjItMTY0LjYsMTg1LjNjLTIyLjYsMTUuNy00Ni45LDMwLjEtNzIuNiw0My4xaDcyLjVjMzQ2LjIsMS45LDY3MS0xNzEuMiw2NzEtNTY3LjlWNzE2LjdDMTkzMy41LDMxMi4yLDE2MDguNywxMzUuMiwxMjYyLjUsMTM1LjJ6Ii8+PC9nPjwvc3ZnPg==",
"type": "sass"
2018-02-05 15:06:53 +01:00
},
2018-02-11 16:42:24 +01:00
"main": "index.scss",
2018-02-08 21:19:26 +01:00
"defaultConfig": [
{
"category": "default",
"settings": [
{
"id": "divBg",
"type": "text",
"value": "#00ff00",
"text": "Primary colour",
2018-02-20 00:54:37 +01:00
"hint": "A colour setting type would be nice here"
},
2018-02-19 19:19:52 +01:00
{
"id": "additional-colours",
"type": "array",
"text": "Additional colours",
"inline": true,
"allow_external": false,
"value": [
{
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"value": "#ff0000"
}
]
}
]
},
{
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"value": "#ffff00"
}
]
}
]
},
{
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"value": "#ffffff"
}
]
}
]
},
{
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"value": "#00ffff"
}
]
}
]
},
{
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"value": "#0000ff"
}
]
}
]
},
{
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"value": "#000000"
}
]
}
]
}
],
2018-02-19 19:19:52 +01:00
"settings": [
{
"category": "default",
"settings": [
{
"id": "colour",
"type": "text",
2018-02-20 00:54:37 +01:00
"value": "#ff0000"
2018-02-19 19:19:52 +01:00
}
]
}
]
},
2018-02-11 21:35:29 +01:00
{
"id": "spanOpacity",
"type": "slider",
"value": 50,
"min": 0,
"max": 100,
2018-02-11 21:41:38 +01:00
"step": 1,
2018-02-11 21:35:29 +01:00
"unit": "%",
"multi": "0.01",
"text": "Span border opacity",
2018-02-11 21:41:38 +01:00
"hint": "test"
},
{
"id": "avatar",
"type": "file",
2018-02-11 21:41:38 +01:00
"text": "Avatar replace",
2018-02-12 01:44:12 +01:00
"hint": "Replace all avatars"
},
{
"id": "avatarRadius",
"type": "dropdown",
"value": "opt1",
2018-02-12 03:56:42 +01:00
"text": "Avatar border radius",
2018-02-12 01:44:12 +01:00
"hint": "Dropdown Test Setting Hint",
"options": [
{
2018-02-12 03:54:15 +01:00
"id": "opt1",
2018-02-14 18:55:10 +01:00
"text": "small",
2018-02-12 03:54:15 +01:00
"value": "8px"
2018-02-12 01:44:12 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt2",
2018-02-14 18:55:10 +01:00
"text": "medium",
2018-02-12 03:54:15 +01:00
"value": "12px"
2018-02-12 01:44:12 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt3",
2018-02-14 18:55:10 +01:00
"text": "high",
2018-02-12 03:54:15 +01:00
"value": "16px"
2018-02-12 01:44:12 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt4",
"text": "ultra",
"value": "20px"
2018-02-12 01:44:12 +01:00
}
]
2018-02-11 21:35:29 +01:00
},
2018-02-12 01:48:44 +01:00
{
"id": "radioTest",
"type": "radio",
"value": "opt1",
"text": "Span text colour",
"hint": "Radio Test Setting Hint",
"options": [
{
2018-02-12 03:54:15 +01:00
"id": "opt1",
"text": "red",
2018-02-14 18:55:10 +01:00
"value": "red"
2018-02-12 01:48:44 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt2",
"text": "green",
2018-02-14 18:55:10 +01:00
"value": "green"
2018-02-12 01:48:44 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt3",
"text": "blue",
2018-02-14 18:55:10 +01:00
"value": "blue"
2018-02-12 01:48:44 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt4",
"text": "orange",
2018-02-14 18:55:10 +01:00
"value": "orange"
2018-02-12 01:48:44 +01:00
},
{
2018-02-12 03:54:15 +01:00
"id": "opt5",
"text": "white",
2018-02-14 18:55:10 +01:00
"value": "white"
2018-02-12 01:48:44 +01:00
}
]
},
2018-02-12 01:51:10 +01:00
{
"id": "spanOpacity2",
"type": "number",
"value": 0,
"text": "Span opacity",
"hint": "Number Test Setting Hint"
},
2018-02-08 21:19:26 +01:00
{
"id": "default-0",
"type": "text",
"value": null,
"text": "Test setting #1",
"hint": "Just some test settings to test the settings panel for themes"
},
{
"id": "default-1",
"type": "bool",
"value": true,
"text": "Work properly",
"hint": "Just some test settings to test the settings panel for themes"
}
]
}
2018-02-14 18:55:10 +01:00
],
"configSchemes": [
{
"id": "scheme-1",
"name": "Test scheme",
2018-02-14 19:03:10 +01:00
"hint": "Sets the span border opacity to 1%.",
2018-02-14 18:55:10 +01:00
"icon_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg",
"settings": [
{
"category": "default",
"settings": [
{
"id": "spanOpacity",
"value": 1
}
]
}
]
},
{
"id": "scheme-2",
"name": "Another test scheme",
2018-02-14 19:03:10 +01:00
"hint": "Sets the primary colour to red and the span border opacity to 99%.",
2018-02-14 18:55:10 +01:00
"icon_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg",
"settings": [
{
"category": "default",
"settings": [
{
"id": "divBg",
"type": "text",
"value": "red",
"text": "Primary colour",
"hint": "A colour setting type would be nice here",
"scss_raw": true
},
{
"id": "spanOpacity",
"value": 99
}
]
}
]
},
{
"id": "scheme-3",
"name": "Final test scheme",
2018-02-14 19:03:10 +01:00
"hint": "Sets the primary colour to transparent and the span border opacity to 50%.",
2018-02-14 18:55:10 +01:00
"icon_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg",
"settings": [
{
"category": "default",
"settings": [
{
"id": "divBg",
"type": "text",
"value": "transparent",
"text": "Primary colour",
"hint": "A colour setting type would be nice here",
"scss_raw": true
},
{
"id": "spanOpacity",
"value": 50
}
]
}
]
}
2018-02-08 21:19:26 +01:00
]
2018-02-05 15:06:53 +01:00
}