rulesExample
@
safe @
()
=> label("A theme is defined by a set of rules. Each rule selects a set of nodes and applies styling " ~ "properties for them. 'rule!Label' defines style for Label, 'rule!Frame' defines style for Frame and " ~ "so on. 'textColor' is probably self-explanatory, it changes the color of the text drawn by the node."),
()
=> label("color() creates a color given its hex code. If you're not familiar with hex codes, you can read " ~ "on it on MDN:"),
()
=> button("<hex-color>", delegate ) Frame
rulesExample