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" ],
|
2018-08-29 22:07:32 +02:00
|
|
|
"version": "1.0",
|
2018-02-05 15:19:24 +01:00
|
|
|
"description": "Example Theme 1 Description",
|
2018-08-06 03:48:16 +02:00
|
|
|
"icon": "icon.svg",
|
|
|
|
"icon_type": "image/svg+xml",
|
2018-02-11 20:31:24 +01:00
|
|
|
"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": [
|
2018-02-28 19:14:29 +01:00
|
|
|
{
|
|
|
|
"id": "relative-file-test",
|
|
|
|
"type": "file",
|
|
|
|
"text": "Messages background image",
|
|
|
|
"hint": "Add a background to the messages area for testing relative path resolution",
|
|
|
|
"value": [
|
|
|
|
"background.jpg"
|
|
|
|
]
|
|
|
|
},
|
2018-02-27 23:08:47 +01:00
|
|
|
{
|
|
|
|
"id": "colourTest",
|
|
|
|
"type": "colour",
|
|
|
|
"value": "#3e82e5",
|
|
|
|
"text": "Colour Picker Test",
|
2018-02-28 04:58:13 +01:00
|
|
|
"hint": "Colour Picker Test Hint"
|
2018-02-27 23:08:47 +01:00
|
|
|
},
|
2018-02-11 20:31:24 +01:00
|
|
|
{
|
|
|
|
"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-11 20:31:24 +01:00
|
|
|
},
|
2018-02-19 19:19:52 +01:00
|
|
|
{
|
|
|
|
"id": "additional-colours",
|
|
|
|
"type": "array",
|
|
|
|
"text": "Additional colours",
|
|
|
|
"inline": true,
|
2018-02-19 23:19:06 +01:00
|
|
|
"allow_external": false,
|
2018-02-20 01:01:23 +01:00
|
|
|
"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": "%",
|
2018-08-06 11:28:35 +02:00
|
|
|
"multi": 0.01,
|
2018-02-11 21:35:29 +01:00
|
|
|
"text": "Span border opacity",
|
2018-02-11 21:41:38 +01:00
|
|
|
"hint": "test"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "avatar",
|
2018-02-21 02:16:41 +01:00
|
|
|
"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-08-06 03:48:16 +02:00
|
|
|
"icon_path": "scheme-icon.jpg",
|
2018-08-06 11:28:35 +02:00
|
|
|
"categories": [
|
2018-02-14 18:55:10 +01:00
|
|
|
{
|
2018-08-06 11:28:35 +02:00
|
|
|
"id": "default",
|
2018-02-14 18:55:10 +01:00
|
|
|
"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-08-06 03:48:16 +02:00
|
|
|
"icon_path": "scheme-icon.jpg",
|
2018-08-06 11:28:35 +02:00
|
|
|
"categories": [
|
2018-02-14 18:55:10 +01:00
|
|
|
{
|
2018-08-06 11:28:35 +02:00
|
|
|
"id": "default",
|
2018-02-14 18:55:10 +01:00
|
|
|
"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-08-06 03:48:16 +02:00
|
|
|
"icon_path": "scheme-icon.jpg",
|
2018-08-06 11:28:35 +02:00
|
|
|
"categories": [
|
2018-02-14 18:55:10 +01:00
|
|
|
{
|
2018-08-06 11:28:35 +02:00
|
|
|
"id": "default",
|
2018-02-14 18:55:10 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"id": "divBg",
|
2018-08-06 11:28:35 +02:00
|
|
|
"value": "transparent"
|
2018-02-14 18:55:10 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "spanOpacity",
|
|
|
|
"value": 50
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2018-02-28 19:14:29 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "scheme-4",
|
|
|
|
"name": "Reset to default background",
|
|
|
|
"hint": "Better than editing user.config.json.",
|
2018-08-06 03:48:16 +02:00
|
|
|
"icon_path": "background.jpg",
|
2018-08-06 11:28:35 +02:00
|
|
|
"categories": [
|
2018-02-28 19:14:29 +01:00
|
|
|
{
|
2018-08-06 11:28:35 +02:00
|
|
|
"id": "default",
|
2018-02-28 19:14:29 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"id": "relative-file-test",
|
|
|
|
"value": [
|
|
|
|
"background.jpg"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2018-02-14 18:55:10 +01:00
|
|
|
}
|
2018-02-08 21:19:26 +01:00
|
|
|
]
|
2018-02-05 15:06:53 +01:00
|
|
|
}
|