/* * Copyright 2016 Canonical Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . */ import QtQuick 2.4 /*! \qmltype PaletteValues \inqmlmodule Lomiri.Components.Themes 1.0 \ingroup theme-module \brief Color values used for a given widget state. */ QtObject { /*! Color applied to the background of the application. */ property color background /*! Color applied to elements placed on top of the \l background color. Typically used for labels and images. */ property color backgroundText /*! Color applied to secondary content on the \l background color. \since Lomiri.Components.Themes 1.3 */ property color backgroundSecondaryText /*! Color applied to tertiary content on the \l background color. \since Lomiri.Components.Themes 1.3 */ property color backgroundTertiaryText /*! Color applied to the background of widgets. */ property color base /*! Color applied to elements placed on top of the \l base color. Typically used for labels and images. */ property color baseText /*! Color applied to widgets on top of the base colour. */ property color foreground /*! Color applied to elements placed on top of the \l foreground color. Typically used for labels and images. */ property color foregroundText /*! Color applied to widgets on top of any layer, background or base. \since Lomiri.Components.Themes 1.3 */ property color raised /*! Color applied to elements placed on top of the \l raised color. \since Lomiri.Components.Themes 1.3 */ property color raisedText /*! Color applied to seconday elements placed on top of the \l raised color. \since Lomiri.Components.Themes 1.3 */ property color raisedSecondaryText /*! Color applied to the background of widgets floating over other widgets. For example popovers, menus, dialogs. */ property color overlay /*! Color applied to elements placed on top of the \l overlay color. Typically used for labels and images. */ property color overlayText /*! Color applied to secondary elements placed on top of the \l overlay color. \since Lomiri.Components.Themes 1.3 */ property color overlaySecondaryText /*! Colour applied to the background of text input fields. */ property color field /*! Color applied to elements placed on top of the \l field color. Typically used for labels and images. */ property color fieldText /*! Colour applied to the positive actions. \since Lomiri.Components.Themes 1.3 */ property color positive /*! Color applied to elements placed on top of the \l positive color. \since Lomiri.Components.Themes 1.3 */ property color positiveText /*! Colour applied to the negative actions. \since Lomiri.Components.Themes 1.3 */ property color negative /*! Color applied to elements placed on top of the \l negative color. \since Lomiri.Components.Themes 1.3 */ property color negativeText /*! Colour applied to the activity colors. Typical example is progress indication, activity indication. \since Lomiri.Components.Themes 1.3 */ property color activity /*! Color applied to elements placed on top of the \l activity color. \since Lomiri.Components.Themes 1.3 */ property color activityText /*! Color applied to selected text background in editable components. */ property color selection /*! Color applied to elements placed on top of the \l selection color. \since Lomiri.Components.Themes 1.3 */ property color selectionText /*! Color applied for the focus frame drawn around the active focus component if it was focused using keyboard navigation. */ property color focus /*! Color applied to elements placed on top of the \l focus color. */ property color focusText /*! Color applied to navigation elements' background. */ property color position /*! Color applied to navigation elements to indicate current position. */ property color positionText }