19
19
import Ubuntu.Components.Themes 1.3
24
backgroundText: "#81888888"
25
base: Qt.rgba(0, 0, 0, 0.1)
26
baseText: UbuntuColors.lightGrey
27
foreground: UbuntuColors.lightGrey
28
foregroundText: "#FFFFFF"
30
overlayText: UbuntuColors.lightGrey
32
fieldText: UbuntuColors.darkGrey
35
background: Qt.rgba(0, 0, 0, 0.05)
36
backgroundText: UbuntuColors.darkGrey
37
selection: selected.foreground
38
foreground: Qt.rgba(UbuntuColors.blue.r, UbuntuColors.blue.g, UbuntuColors.blue.b, 0.2)
39
foregroundText: UbuntuColors.darkGrey
41
fieldText: UbuntuColors.darkGrey
22
normal: AmbianceNormal {}
23
inactive: AmbianceNormal {
24
field: UbuntuColors.porcelain;
25
// inactive is 30% transparent normal
26
Component.onCompleted: {
27
for (var p in normal) {
28
// skip objectName and all change signals
29
if (p == "objectName" || p == "field" || p.indexOf("Changed") > 0) continue;
30
inactive[p] = Qt.rgba(normal[p].r, normal[p].g, normal[p].b, 0.3);
35
// selected differs from normal in background, base, foreground
36
selected: AmbianceNormal {
37
background: UbuntuColors.porcelain
38
backgroundText: UbuntuColors.blue
39
base: UbuntuColors.ash
40
baseText: UbuntuColors.blue
41
foreground: UbuntuColors.silk
42
foregroundText: UbuntuColors.blue
45
// selected differs from normal in background, base, foreground
46
selectedInactive: AmbianceNormal {
47
background: UbuntuColors.porcelain
48
base: UbuntuColors.porcelain
49
foreground: UbuntuColors.porcelain