Create the three style elements CellContents, Header, and SystemTitle. Create the style element Footer using inheritance. The style attributes are defined in terms of the user-defined attributes that were created earlier in the style. For example, the foreground color in CellContents is set to colors("light") . Looking at the template of Colors, you can see that this is white. However, by setting the colors up in a style element with user-defined attributes, you can change the color of everything that uses a particular color by changing a single value in the style element Colors.
style cellcontents /
backgroundcolor=colors("dark")
color=colors("light")
font=fonts("cellfont");
style header /
backgroundcolor=colors("medium")
color=colors("dark")
font=fonts("headingfont");
style systemtitle /
backgroundcolor=colors("light")
color=colors("bright")
font=fonts("titlefont");
style footer from systemtitle /
fontsize=3;
style table /
cellspacing=5
borderwidth=10;