Debian Codegraph @

src/imports/Components/Themes/1.2/PaletteValues.qml

raw
1 /*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 import QtQuick 2.4
18
19 /*!
20 \qmltype PaletteValues
21 \inqmlmodule Lomiri.Components.Themes 0.1
22 \ingroup theming
23 \brief Color values used for a given widget state.
24 */
25 QtObject {
26 /*!
27 Color applied to the background of the application.
28 */
29 property color background
30 /*!
31 Color applied to elements placed on top of the \l background color.
32 Typically used for labels and images.
33 */
34 property color backgroundText
35 /*!
36 Color applied to the background of widgets.
37 */
38 property color base
39 /*!
40 Color applied to elements placed on top of the \l base color.
41 Typically used for labels and images.
42 */
43 property color baseText
44 /*!
45 Color applied to widgets on top of the base colour.
46 */
47 property color foreground
48 /*!
49 Color applied to elements placed on top of the \l foreground color.
50 Typically used for labels and images.
51 */
52 property color foregroundText
53 /*!
54 Color applied to the background of widgets floating over other widgets.
55 For example: popovers, Toolbar.
56 */
57 property color overlay
58 /*!
59 Color applied to elements placed on top of the \l overlay color.
60 Typically used for labels and images.
61 */
62 property color overlayText
63 /*!
64 Colour applied to the backgrouhnd of text input fields.
65 */
66 property color field
67 /*!
68 Color applied to elements placed on top of the \l field color.
69 Typically used for labels and images.
70 */
71 property color fieldText
72 /*!
73 Color applied to selected text in editable components.
74 */
75 property color selection
76 }