Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############## Creation of theme. ################
- UTIL.themes:CreateDefault("undefined_base_bg", Color(232, 231, 239), "undefined.base");
- ############## `class` ###########################
- UTIL = UTIL or {}
- UTIL.themes = UTIL.themes or {}
- local stored = {}
- local controls = {}
- stored["Default"] = {};
- --- Creates a colour entry for the default theme.
- -- @string name The name of the colour entry.
- -- @color default The default colour to be set.
- -- @panel panel The name of the panel it applies to.
- function UTIL.themes:CreateDefault(name, default, panel)
- stored["Default"][name] = default
- controls[panel] = controls[panel] or {}
- table.insert(controls[panel], name)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement