Ubuntu.Components.UbuntuColors

Singleton defining the Ubuntu color palette. More...

Import Statement: import Ubuntu.Components 1.3
Inherits:

QtObject

  • Obsolete members

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 href="http://design.ubuntu.com/brand/colour-palette">Ubuntu brand guidelines.

Example of use:

Rectangle {
color: UbuntuColors.orange
}

Property Documentation

[read-only] ash : color

Ash. Recommended for subtitles and other tertiary content.

This QML property was introduced in Ubuntu.Components 1.3.


[read-only] blue : color

Blue. Recommended for text selection and text cursor.

This QML property was introduced in Ubuntu.Components 1.1.


[read-only] graphite : color

Graphite. Recommended for coloring dark themes' background.

This QML property was introduced in Ubuntu.Components 1.3.


[read-only] green : color

Green. Recommended for positive action buttons.

This QML property was introduced in Ubuntu.Components 1.1.


[read-only] inkstone : color

Inkstone. Recommended for foreground colors in dark themes.

This QML property was introduced in Ubuntu.Components 1.3.


[read-only] jet : color

Jet. Recommended for content coloring.

This QML property was introduced in Ubuntu.Components 1.3.


[read-only] orange : color

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


[read-only] porcelain : color

Porcelain. Recommended for foregrounds.

This QML property was introduced in Ubuntu.Components 1.3.


[read-only] purple : color

Purple. Recommended for proper nouns in list items.

This QML property was introduced in Ubuntu.Components 1.1.


[read-only] red : color

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

This QML property was introduced in Ubuntu.Components 1.1.


[read-only] silk : color

Silk. Recommended for neutral action buttons and secondary text.

This QML property was introduced in Ubuntu.Components 1.3.


[read-only] slate : color

Slate. Recommended for text and action icons.

This QML property was introduced in Ubuntu.Components 1.3.