/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.1/UbuntuColors.qml is in qml-module-ubuntu-components 1.3.1918+16.04.20160404-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | /*
Copyright 2014 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 <http://www.gnu.org/licenses/>.
*/
pragma Singleton
import QtQuick 2.4
/*!
\qmltype UbuntuColors
\inqmlmodule Ubuntu.Components 1.1
\ingroup ubuntu
\brief Singleton defining the Ubuntu color palette.
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
\l{http://design.ubuntu.com/brand/colour-palette}{Ubuntu brand guidelines}.
Example of use:
\qml
Rectangle {
color: UbuntuColors.orange
}
\endqml
*/
QtObject {
// old colors from UbuntuColors 1.0:
/*!
Orange. Recommended for branded elements, display progress
and intensity, textual links on light backgrounds.
*/
readonly property color orange: "#DD4814"
/*!
\deprecated
Ubuntu supporting color: light aubergine
*/
readonly property color lightAubergine: "#77216F"
/*!
\deprecated
Ubuntu supporting color: mid aubergine
*/
readonly property color midAubergine: "#5E2750"
/*!
\deprecated
Ubuntu supporting color: dark aubergine
*/
readonly property color darkAubergine: "#2C001E"
/*!
\deprecated
Ubuntu neutral color: warm grey
*/
readonly property color warmGrey: "#AEA79F"
/*!
\deprecated
Ubuntu neutral color: cool grey
*/
readonly property color coolGrey: "#333333"
/*!
Ubuntu orange gradient
\sa Button::gradient
*/
property Gradient orangeGradient: Gradient {
GradientStop { position: 0.0; color: "#DD4814" }
GradientStop { position: 1.0; color: "#D9722D" }
}
/*!
Ubuntu grey gradient
\sa Button::gradient
*/
property Gradient greyGradient: Gradient {
GradientStop { position: 0.0; color: "#888888" }
GradientStop { position: 1.0; color: "#BBBBBB" }
}
// New colors introduced in UbuntuColors 1.1:
/*!
Light grey. Recommended for neutral action buttons and
secondary text.
\since Ubuntu.Components 1.1
*/
readonly property color lightGrey: "#929292"
/*!
Dark grey. Recommended for text and action icons.
\since Ubuntu.Components 1.1
*/
readonly property color darkGrey: "#5d5d5d"
/*!
Red. Recommended for negative and irreversible action
buttons, errors and alerts.
\since Ubuntu.Components 1.1
*/
readonly property color red: "#f32c36"
/*!
Green. Recommended for positive action buttons.
\since Ubuntu.Components 1.1
*/
readonly property color green: "#00a132"
/*!
Blue. Recommended for text selection and text cursor.
\since Ubuntu.Components 1.1
*/
readonly property color blue: "#12a3d8"
/*!
Purple. Recommended for proper nouns in
list items.
\since Ubuntu.Components 1.1
*/
readonly property color purple: "#762572"
}
|