Kodi Community Forum
Color Definitions - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: WIP Skins (https://forum.kodi.tv/forumdisplay.php?fid=160)
+---- Thread: Color Definitions (/showthread.php?tid=203865)



Color Definitions - ZexisStryfe - 2014-09-07

I am using a color picker to set the accent color to the string "accent.color". I have text in my skin that uses the color definition "Accent". It doesn't seem possible to set this to a string or variable. Is there a workaround? This is needed in particular for labels in which I have two colors in one label (for example movie name (white) movie year (accent) ).


RE: Color Definitions - kristle - 2014-09-07

Have you read the wiki entry?

http://wiki.xbmc.org/index.php?title=Label_control

'textcolor Specifies the color the text should be, in hex AARRGGBB format, or a name from the colour theme.'

See also

http://wiki.xbmc.org/index.php?title=Colour_Themes

Pretty sure you can't use a variable.


RE: Color Definitions - ZexisStryfe - 2014-09-07

Right, I get that. I was curious if there was a work around. I clarified my original post a bit.

(2014-09-07, 22:01)ZexisStryfe Wrote: It doesn't seem possible to set this to a string or variable. Is there a workaround?

Also I noticed this is in the wrong forum- can a mod move it to Skin Development forum?