API Documentation
Documentation for developing SailfishOS applicationsPalette QML Type
A color palette More...
Import Statement: | import Sailfish.Silica 1.0 |
Properties
- colorScheme : enumeration
- errorColor : color
- highlightBackgroundColor : color
- highlightColor : color
- highlightDimmerColor : color
- overlayBackgroundColor : color
- primaryColor : color
- secondaryColor : color
- secondaryHighlightColor : color
Detailed Description
The Palette type provides values for standard colors.
A palette is normally used by addressing the palette property of a SilicaItem. The default colors follow the equivalent values from the Theme object but can be overridden, if either the colorScheme or highlightColor of a palette is overridden any derivative colors will also be overridden.
Property Documentation
The palette color scheme. This is equivalent the the Theme colorScheme property.
Changing this will change the default values of all the color values.
The palette secondary color. This is equivalent the the Theme errorColor property.
The palette secondary color. This is equivalent the the Theme highlightBackgroundColor property.
The palette secondary color. This is equivalent the the Theme highlightColor property.
Changing this will also change the default values of the secondaryHighlightColor, highlightBackgroundColor, highlightDimmerColor, and backgroundGlowColor colors.
The palette secondary color. This is equivalent the the Theme highlightDimmerColor property.
The palette secondary color. This is equivalent the the Theme overlayBackgroundColor property.
The palette primary color. This is equivalent the the Theme primaryColor property.
The palette secondary color. This is equivalent the the Theme secondaryColor property.
The palette secondary color. This is equivalent the the Theme secondaryHighlightColor property.