{
    "info": {
        "name": "Example Theme 1",
        "authors": [ "Jiiks" ],
        "version": "1.0",
        "description": "Example Theme 1 Description",
        "icon": "icon.svg",
        "icon_type": "image/svg+xml",
        "type": "sass"
    },
    "main": "index.scss",
    "defaultConfig": [
        {
            "category": "default",
            "settings": [
                {
                    "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"
                    ]
                },
                {
                    "id": "colourTest",
                    "type": "colour",
                    "value": "#3e82e5",
                    "text": "Colour Picker Test",
                    "hint": "Colour Picker Test Hint"
                },
                {
                    "id": "divBg",
                    "type": "text",
                    "value": "#00ff00",
                    "text": "Primary colour",
                    "hint": "A colour setting type would be nice here"
                },
                {
                    "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"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "settings": [
                        {
                            "category": "default",
                            "settings": [
                                {
                                    "id": "colour",
                                    "type": "text",
                                    "value": "#ff0000"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "spanOpacity",
                    "type": "slider",
                    "value": 50,
                    "min": 0,
                    "max": 100,
                    "step": 1,
                    "unit": "%",
                    "multi": 0.01,
                    "text": "Span border opacity",
                    "hint": "test"
                },
                {
                    "id": "avatar",
                    "type": "file",
                    "text": "Avatar replace",
                    "hint": "Replace all avatars"
                },
                {
                    "id": "avatarRadius",
                    "type": "dropdown",
                    "value": "opt1",
                    "text": "Avatar border radius",
                    "hint": "Dropdown Test Setting Hint",
                    "options": [
                        {
                            "id": "opt1",
                            "text": "small",
                            "value": "8px"
                        },
                        {
                            "id": "opt2",
                            "text": "medium",
                            "value": "12px"
                        },
                        {
                            "id": "opt3",
                            "text": "high",
                            "value": "16px"
                        },
                        {
                            "id": "opt4",
                            "text": "ultra",
                            "value": "20px"
                        }
                    ]
                },
                {
                    "id": "radioTest",
                    "type": "radio",
                    "value": "opt1",
                    "text": "Span text colour",
                    "hint": "Radio Test Setting Hint",
                    "options": [
                        {
                            "id": "opt1",
                            "text": "red",
                            "value": "red"
                        },
                        {
                            "id": "opt2",
                            "text": "green",
                            "value": "green"
                        },
                        {
                            "id": "opt3",
                            "text": "blue",
                            "value": "blue"
                        },
                        {
                            "id": "opt4",
                            "text": "orange",
                            "value": "orange"
                        },
                        {
                            "id": "opt5",
                            "text": "white",
                            "value": "white"
                        }
                    ]
                },
                {
                    "id": "spanOpacity2",
                    "type": "number",
                    "value": 0,
                    "text": "Span opacity",
                    "hint": "Number Test Setting Hint"
                },
                {
                    "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"
                }
            ]
        }
    ],
    "configSchemes": [
        {
            "id": "scheme-1",
            "name": "Test scheme",
            "hint": "Sets the span border opacity to 1%.",
            "icon_path": "scheme-icon.jpg",
            "categories": [
                {
                    "id": "default",
                    "settings": [
                        {
                            "id": "spanOpacity",
                            "value": 1
                        }
                    ]
                }
            ]
        },
        {
            "id": "scheme-2",
            "name": "Another test scheme",
            "hint": "Sets the primary colour to red and the span border opacity to 99%.",
            "icon_path": "scheme-icon.jpg",
            "categories": [
                {
                    "id": "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",
            "hint": "Sets the primary colour to transparent and the span border opacity to 50%.",
            "icon_path": "scheme-icon.jpg",
            "categories": [
                {
                    "id": "default",
                    "settings": [
                        {
                            "id": "divBg",
                            "value": "transparent"
                        },
                        {
                            "id": "spanOpacity",
                            "value": 50
                        }
                    ]
                }
            ]
        },
        {
            "id": "scheme-4",
            "name": "Reset to default background",
            "hint": "Better than editing user.config.json.",
            "icon_path": "background.jpg",
            "categories": [
                {
                    "id": "default",
                    "settings": [
                        {
                            "id": "relative-file-test",
                            "value": [
                                "background.jpg"
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
