Color Classes Block
PUBLISHED
The color_classes block contains 1 or more color_class blocks. Each color_class block allows you to name an arbitrary group of colors to be used in the theme. The application can use that name to alter the color values at runtime.
Figure: Color classes block

color_classes {
color_class {
name: "colorclassname";
color: [0-255] [0-255] [0-255] [0-255];
color2: [0-255] [0-255] [0-255] [0-255];
color3color3: [0-255] [0-255] [0-255] [0-255];
}
}
name [color class name]Sets the name for the color class, and is used as a reference by both the theme and the application.
color [red] [green] [blue] [alpha]Sets the main color.
color2 [red] [green] [blue] [alpha]Used as an outline in text and textblock parts.
color3 [red] [green] [blue] [alpha]Used as a shadow in text and textblock parts.
Was this document helpful?
We value your feedback. Please let us know what you think.
