ColorPalette QML Type

Defines a color palette More...

Import Statement: import quey.ui 0.1

Properties

Detailed Description

To be used within a Theme component:

Theme {
    palette: ColorPalette {
        green: "green"
        blue: Qt.rgba(0, 0, 255, 1)
        regular: "black"
        warning: "red"
    }
}

Basic colors:

Context types:

Property Documentation

background : color

The app background color.


blue : color


danger : color

A color highlighting danger.


darkGrey : color


green : color


lightGrey : color


mediumGrey : color


orange : color


primary : color

The primary color to highlight specific elements.


purple : color


red : color


regular : color

The regular color to be used in labels as well as for widgets.


separator : color

Color for separators, e.g. Separator.


success : color

A color highlighting success.


transparent : color


warning : color

A warning color.


white : color


widgetBackground : color

The color to be used as widget background.


yellow : color