columns_ui:config:colour_string
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
columns_ui:config:colour_string [2013/09/20 03:01] – removed spam 98.196.216.82 | columns_ui:config:colour_string [2018/05/18 19:48] (current) – Clarify usage musicmusic | ||
---|---|---|---|
Line 9: | Line 9: | ||
You can set the text colour as follows: | You can set the text colour as follows: | ||
- | $set_style('' | + | '' |
==== Setting the background colour ==== | ==== Setting the background colour ==== | ||
You can set the background colour as follows: | You can set the background colour as follows: | ||
- | $set_style('' | + | '' |
==== Setting the frame style ==== | ==== Setting the frame style ==== | ||
You can set the frame style as follows: | You can set the frame style as follows: | ||
- | $set_style(// | + | '' |
where | where | ||
Line 24: | Line 26: | ||
* //colour// is the colour of the frame, required if //enabled state// is '' | * //colour// is the colour of the frame, required if //enabled state// is '' | ||
- | ==== Technical information | + | ===== Notes ===== |
- | A colour code in the style string differs slightly from colour codes in the display string and other such strings in the following ways: | + | |
- | * They do not have to be surrounded by ' | + | |
- | * They do not have to be zero-padded upto six digits. | + | |
- | Of course, doing these things offers little harm, only in the form of neglibly longer parsing. | + | |
- | i.e., in this string a colour code is a [[wp> | + | Note that selection colours can not be overridden if the colour mode for the playlist view is Themed in Colours |
===== Example ===== | ===== Example ===== | ||
Line 36: | Line 34: | ||
The following is an example of a style string: | The following is an example of a style string: | ||
<code tagz> | <code tagz> | ||
- | $set_style(text, | + | $set_style(text, |
- | $set_style(back, | + | $set_style(back, |
- | $set_style(frame-left, | + | $set_style(frame-left, |
</ | </ | ||
This string will set colours as follows: | This string will set colours as follows: |
columns_ui/config/colour_string.txt · Last modified: 2018/05/18 19:48 by musicmusic