UbuntuColors

Singleton defining the Ubuntu color palette. More...

Import Statement: import Ubuntu.Components 1.1
Inherits:

QtObject

Properties

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

read-onlyblue : color

Blue. Recommended for text selection and text cursor.

This QML property was introduced in Ubuntu.Components 1.1.


read-onlydarkGrey : color

Dark grey. Recommended for text and action icons.

This QML property was introduced in Ubuntu.Components 1.1.


read-onlygreen : color

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.


read-onlylightGrey : color

Light grey. Recommended for neutral action buttons and secondary text.

This QML property was introduced in Ubuntu.Components 1.1.


read-onlyorange : color

Orange. Recommended for branded elements, display progress and intensity, textual links on light backgrounds.


orangeGradient : Gradient

Ubuntu orange gradient

See also Button::gradient.


read-onlypurple : color

Purple. Recommended for proper nouns in list items.

This QML property was introduced in Ubuntu.Components 1.1.


read-onlyred : color

Red. Recommended for negative and irreversible action buttons, errors and alerts.

This QML property was introduced in Ubuntu.Components 1.1.