~cimi/unity8/scope-settings

« back to all changes in this revision

Viewing changes to tests/plugins/Dash/cardcreator/2.res

  • Committer: Andrea Cimitan
  • Date: 2014-08-08 20:43:41 UTC
  • mfrom: (982.6.142 dash_overview)
  • Revision ID: andrea.cimitan@gmail.com-20140808204341-x8buvlpjvdr7zm3n
Merged dash overview

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
                        wrapMode: Text.Wrap; 
90
90
                        maximumLineCount: 2; 
91
91
                        font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 
92
 
                        color: backgroundLoader.active && backgroundLoader.item && backgroundLoader.item.luminance < 0.7 ? "white" : (root.scopeStyle ? root.scopeStyle.foreground : "grey"); 
 
92
                        color: backgroundLoader.active && backgroundLoader.item && backgroundLoader.item.luminance < (root.scopeStyle ? root.scopeStyle.threshold : 0.7) ? (root.scopeStyle ? root.scopeStyle.light : "white") : (root.scopeStyle ? root.scopeStyle.dark : "grey"); 
93
93
                        visible: showHeader ; 
94
94
                        text: root.title; 
95
95
                        font.weight: components && components["subtitle"] ? Font.DemiBold : Font.Normal; 
104
104
                            elide: Text.ElideRight; 
105
105
                            fontSize: "small"; 
106
106
                            font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 
107
 
                            color: backgroundLoader.active && backgroundLoader.item && backgroundLoader.item.luminance < 0.7 ? "white" : (root.scopeStyle ? root.scopeStyle.foreground : "grey"); 
 
107
                            color: backgroundLoader.active && backgroundLoader.item && backgroundLoader.item.luminance < (root.scopeStyle ? root.scopeStyle.threshold : 0.7) ? (root.scopeStyle ? root.scopeStyle.light : "white") : (root.scopeStyle ? root.scopeStyle.dark : "grey"); 
108
108
                            visible: titleLabel.visible && titleLabel.text; 
109
109
                            text: cardData && cardData["subtitle"] || ""; 
110
110
                            font.weight: Font.Light;