UbuntuColors QML Type
Singleton defining the Ubuntu color palette. More...
Import Statement: | import Ubuntu.Components 1.2 |
Inherits: |
Properties
- blue : color
- darkGrey : color
- green : color
- greyGradient : Gradient
- lightGrey : color
- orange : color
- orangeGradient : Gradient
- purple : color
- red : color
Detailed Description
Each color of the Ubuntu color palette is accesible from it. For more information on how to appropriately use the colors according to the context, please refer to the Ubuntu brand guidelines.
Example of use:
Rectangle { color: UbuntuColors.orange }
Property Documentation
Blue. Recommended for text selection and text cursor.
This QML property was introduced in Ubuntu.Components 1.1.
Dark grey. Recommended for text and action icons.
This QML property was introduced in Ubuntu.Components 1.1.
Green. Recommended for positive action buttons.
This QML property was introduced in Ubuntu.Components 1.1.
greyGradient : Gradient |
Ubuntu grey gradient
See also Button::gradient.
Light grey. Recommended for neutral action buttons and secondary text.
This QML property was introduced in Ubuntu.Components 1.1.
Orange. Recommended for branded elements, display progress and intensity, textual links on light backgrounds.
orangeGradient : Gradient |
Ubuntu orange gradient
See also Button::gradient.
Purple. Recommended for proper nouns in list items.
This QML property was introduced in Ubuntu.Components 1.1.
Red. Recommended for negative and irreversible action buttons, errors and alerts.
This QML property was introduced in Ubuntu.Components 1.1.