home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Skinning engine improvements
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Smirnuff" data-source="post: 17604" data-attributes="member: 10545"><p><strong>Named colors</strong></p><p></p><p>We have also updated the skinning engine to allow the use of named colours, the color names are based upon the standard HTML palette as specified by the W3C:</p><p></p><p><a href="http://www.w3schools.com/html/html_colornames.asp" target="_blank">Click to see color names</a>.</p><p></p><p>The skinning engine still accepts numeric values, particularly useful if you want to specify a non-default alpha value. Examples of how to use are as follows:</p><p></p><p>[code]</p><p></p><p><textcolor>White</textcolor></p><p></p><p><textcolor>#20FFFFFF</textcolor></p><p></p><p><textcolor>#330099</textcolor></p><p></p><p><textcolor>Gainsboro</textcolor></p><p></p><p></p><p><textcolor>White:#60</textcolor></p><p></p><p></p><p><textcolor>White:96</textcolor></p><p></p><p>[/code]</p><p></p><p>So far this support covers the following markup tags:</p><p></p><p>[code]</p><p></p><p><textcolor/></p><p><colorkey/></p><p><colordiffuse/></p><p></p><p>[/code]</p><p></p><p>We'd be greatful if you could start using # to signify that its a non-named color, there is currently code to handle this but it would be nice to remove this workaround.</p></blockquote><p></p>
[QUOTE="Smirnuff, post: 17604, member: 10545"] [b]Named colors[/b] We have also updated the skinning engine to allow the use of named colours, the color names are based upon the standard HTML palette as specified by the W3C: [url=http://www.w3schools.com/html/html_colornames.asp]Click to see color names[/url]. The skinning engine still accepts numeric values, particularly useful if you want to specify a non-default alpha value. Examples of how to use are as follows: [code] <textcolor>White</textcolor> <textcolor>#20FFFFFF</textcolor> <textcolor>#330099</textcolor> <textcolor>Gainsboro</textcolor> <textcolor>White:#60</textcolor> <textcolor>White:96</textcolor> [/code] So far this support covers the following markup tags: [code] <textcolor/> <colorkey/> <colordiffuse/> [/code] We'd be greatful if you could start using # to signify that its a non-named color, there is currently code to handle this but it would be nice to remove this workaround. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Skinning engine improvements
Contact us
RSS
Top
Bottom