Commit Graph

3 Commits

Author SHA1 Message Date
Marco Martin
8eb1bc10f5 Introduce the ColorScope class
it's an import in core, and advertises itself as an "attached property"
with this we can:
say that all its chidren are of a certain context, like "button" or
"complementary"

then anywhere there will be available an attached property, as ColorScope,
so like:

PlasmaCore.ColorScope {
 group: PlasmaCore.Theme.Complementary

 PlasmaComponents.Label {
   text: "foo"
   color: ColorScope.textColor
 }
}
2014-06-19 17:40:14 +02:00
Marco Martin
369c734bd9 align to pixel grid 2014-06-13 20:59:34 +02:00
Kevin Ottens
c2aa81e2d4 All source code under src per policy 2014-04-26 01:48:37 +02:00