2013-10-27, 15:28
Hello
i would like to change the text Color According to a Theme
what i Try ist this (defaults.xml) :
but sadly this doesn't work (also if i wrap both with controls)
ist there an other way that i miss?
Thanks in advance
i would like to change the text Color According to a Theme
what i Try ist this (defaults.xml) :
PHP Code:
<colors>
<visile>Skin.HasTheme(dark)</visible>
<color name="white">FFFFFFFF</color>
<color name="grey">FFb4b4b4</color>
<color name="grey2">FF999999</color>
<color name="grey3">FF505050</color>
<color name="black">FF000000</color>
<color name="blue">FF0084ff</color>
<color name="selected">FFEB9E17</color>
<color name="invalid">FFFF0000</color>
</colors>
<colors>
<visile>!Skin.HasTheme(dark)</visible>
<color name="white">FFFFFFFF</color>
<color name="grey">FFb4b4b4</color>
<color name="grey2">FF999999</color>
<color name="grey3">FF505050</color>
<color name="black">FF000000</color>
<color name="blue">FF0084ff</color>
<color name="selected">FFEB9E17</color>
<color name="invalid">FFFF0000</color>
</colors>
but sadly this doesn't work (also if i wrap both with controls)
ist there an other way that i miss?
Thanks in advance