documentation indexreference manualfunction index

style.create

Function: style.create (name, parent):

Creates a new style.

name - The name of the new style, as a string.

parent - The parent of the new style, as a string. This is either 'default' or something more specific.


Example

init:
    $ style.create('my_say_label', 'say_label')
    $ style.my_say_label.color = "#f88"



documentation indexreference manualfunction index