on xenial help sign in
[Dash] Let scopes select there preferred background color
81bfe98Marius Gripsgard
plugins/Dash/ScopeStyle.qml+1−1
@@ -37,7 +37,7 @@ QtObject {
37 property var style: Object()
37 property var style: Object()
38
38
39 /// Color used for text and symbolic icons
39 /// Color used for text and symbolic icons
40− property color foreground: gsettings.dashBackground ? "white" : d.defaultDark
40+ property color foreground: gsettings.dashBackground ? "white" : ("foreground-color" in style ? style["foreground-color"] : d.defaultDark)
41
41
42 /// Luminance of the foreground color
42 /// Luminance of the foreground color
43 readonly property real foregroundLuminance: foreground ? Style.luminance(foreground) : Style.luminance(d.defaultDark)
43 readonly property real foregroundLuminance: foreground ? Style.luminance(foreground) : Style.luminance(d.defaultDark)