Skip to main content

Theme

The theme interface

Theme.color = { r = 0, g = 255, b = 255 }
Theme.spectrum_color = { r = 0, g = 128, b = 255 }

Properties

color

Theme.color: table

Get/Set the theme color (r/g/b)

spectrum_color

Theme.spectrum_color: table

Get/Set the spectrum theme color (r/g/b)

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "color",
            "desc": "Get/Set the theme color (r/g/b)",
            "lua_type": "table",
            "source": {
                "line": 18,
                "path": "../../res/data/script/lib/system/theme.lua"
            }
        },
        {
            "name": "spectrum_color",
            "desc": "Get/Set the spectrum theme color (r/g/b)",
            "lua_type": "table",
            "source": {
                "line": 25,
                "path": "../../res/data/script/lib/system/theme.lua"
            }
        }
    ],
    "types": [],
    "name": "Theme",
    "desc": "The theme interface\n\n```lua\nTheme.color = { r = 0, g = 255, b = 255 }\nTheme.spectrum_color = { r = 0, g = 128, b = 255 }\n```",
    "source": {
        "line": 10,
        "path": "../../res/data/script/lib/system/theme.lua"
    }
}