Style Node - LiruJ/GuiCookie GitHub Wiki
A style node exists within the Style Sheet and holds a collection of Style Attributes and Style Variants.
Any node added to the style node which has no children is loaded as a Style Attribute, whereas any child nodes with children are loaded as Style Variants. Style Variant nodes then have Style Attribute nodes as children to define the style of the variant.
A style node may use the "Base" attribute to define a base style to modify. For example; if the style "Pane" has been set up to act as a pane style, having the Base="Pane" attribute on the Button style will cause the Button style to copy Pane's data and any copied data within the Button style is simply overwritten.
<Pane>
<SliceFrame Image="Pane"/>
<Font Font="BasicFont"/>
<Content Colour="#ff0"/>
</Pane>
<Button Base="Pane">
<SliceFrame Tint="#ccc"/>
<Content Colour="#000"/>
</Button>Is equivalent to
<Button>
<SliceFrame Image="Pane" Tint="#ccc"/>
<Font Font="BasicFont"/>
<Content Colour="#000"/>
</Button>