Skip to content

Commit a92f9d7

Browse files
committed
Update docs
1 parent 57b6b92 commit a92f9d7

File tree

1 file changed

+43
-40
lines changed

1 file changed

+43
-40
lines changed

docs/source/more/customise.rst

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,24 @@ A colour theme ``.conf`` file consists of the following settings:
5959
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
6060
6161
[Base]
62-
default = #303030
63-
faded = #6c6c6c
64-
red = #a62a2d
65-
orange = #b36829
66-
yellow = #a68542
67-
green = #296629
68-
cyan = #269999
69-
blue = #3a70a6
70-
purple = #b35ab3
62+
default = #303030
63+
faded = #6c6c6c
64+
red = #a62a2d
65+
orange = #b36829
66+
yellow = #a68542
67+
green = #296629
68+
cyan = #269999
69+
blue = #3a70a6
70+
purple = #b35ab3
7171
7272
[Project]
73-
root = blue
74-
folder = yellow
75-
file = default
76-
title = green
77-
chapter = red
78-
scene = blue
79-
note = yellow
73+
root = blue
74+
folder = yellow
75+
file = default
76+
title = green
77+
chapter = red
78+
scene = blue
79+
note = yellow
8080
8181
[Palette]
8282
window = #efefef
@@ -95,31 +95,31 @@ A colour theme ``.conf`` file consists of the following settings:
9595
linkvisited = blue
9696
9797
[GUI]
98-
helptext = #5c5c5c
99-
fadedtext = #6c6c6c
100-
errortext = red
98+
helptext = #5c5c5c
99+
fadedtext = #6c6c6c
100+
errortext = red
101101
102102
[Syntax]
103-
background = #ffffff
104-
text = #000000
105-
link = blue
106-
headertext = green
107-
headertag = green:160
108-
emphasis = orange
109-
dialog = blue
110-
altdialog = blue
111-
note = yellow
112-
hidden = faded
113-
shortcode = green
114-
keyword = red
115-
tag = green
116-
value = blue
117-
optional = green
118-
spellcheckline = red
119-
errorline = green
120-
replacetag = green
121-
modifier = green
122-
texthighlight = #c8c80060
103+
background = #ffffff
104+
text = #000000
105+
link = blue
106+
headertext = green
107+
headertag = green:L135
108+
emphasis = orange
109+
dialog = blue
110+
altdialog = blue
111+
note = yellow
112+
hidden = faded
113+
shortcode = green
114+
keyword = red
115+
tag = green
116+
value = blue
117+
optional = green
118+
spellcheckline = red
119+
errorline = green
120+
replacetag = green
121+
modifier = green
122+
texthighlight = #c8c80060
123123
124124
125125
Theme Sections
@@ -149,12 +149,15 @@ There are several ways to enter colour values:
149149

150150
.. csv-table:: Colour Formats
151151
:header: "Syntax", "Description"
152+
:widths: 15, 85
152153
:class: "tight-table"
153154

154155
"``#RRGGBB``", "A CSS style hexadecimal values, like ``#ff0000`` for red."
155156
"``#RRGGBBAA``", "A CSS style hexadecimal values with transparency, like ``#ff00007f`` for half-transparent red."
156157
"``name``", "A name referring to one of the colours already specified under the ``[Base]`` section, like ``red``. Note that you should not use named colours in the ``[Base]`` section itself as that may have unintended results."
157-
"``name:alpha``", "A name referring to one of the colours already specified under the ``[Base]`` section, with a transparency value added. The alpha value must be in the range ``0`` to ``255``, like ``red:127`` for half-transparent red."
158+
"``name:255``", "A name referring to one of the colours already specified under the ``[Base]`` section, with a transparency value added. The value must be in the range ``0`` to ``255``, like ``red:127`` for half-transparent red."
159+
"``name:L100``", "A name referring to one of the colours already specified under the ``[Base]`` section, where the L-number is a percentage value that makes it lighter. The value must be greater than ``0``. ``L100`` means no change."
160+
"``name:D100``", "A name referring to one of the colours already specified under the ``[Base]`` section, where the D-number is a percentage value that makes it darker. The value must be greater than ``0``. ``D100`` means no change."
158161
"``r, g, b``", "A set of red, green and blue numbers in the range ``0`` to ``255``, like ``255, 0, 0`` for red."
159162
"``r, g, b, a``", "A set of red, green, blue and alpha numbers in the range ``0`` to ``255``, like ``255, 0, 0, 127`` for half-transparent red."
160163

0 commit comments

Comments
 (0)