Update docs
This commit is contained in:
@@ -59,24 +59,24 @@ A colour theme ``.conf`` file consists of the following settings:
|
|||||||
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
|
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
|
||||||
|
|
||||||
[Base]
|
[Base]
|
||||||
default = #303030
|
default = #303030
|
||||||
faded = #6c6c6c
|
faded = #6c6c6c
|
||||||
red = #a62a2d
|
red = #a62a2d
|
||||||
orange = #b36829
|
orange = #b36829
|
||||||
yellow = #a68542
|
yellow = #a68542
|
||||||
green = #296629
|
green = #296629
|
||||||
cyan = #269999
|
cyan = #269999
|
||||||
blue = #3a70a6
|
blue = #3a70a6
|
||||||
purple = #b35ab3
|
purple = #b35ab3
|
||||||
|
|
||||||
[Project]
|
[Project]
|
||||||
root = blue
|
root = blue
|
||||||
folder = yellow
|
folder = yellow
|
||||||
file = default
|
file = default
|
||||||
title = green
|
title = green
|
||||||
chapter = red
|
chapter = red
|
||||||
scene = blue
|
scene = blue
|
||||||
note = yellow
|
note = yellow
|
||||||
|
|
||||||
[Palette]
|
[Palette]
|
||||||
window = #efefef
|
window = #efefef
|
||||||
@@ -95,31 +95,31 @@ A colour theme ``.conf`` file consists of the following settings:
|
|||||||
linkvisited = blue
|
linkvisited = blue
|
||||||
|
|
||||||
[GUI]
|
[GUI]
|
||||||
helptext = #5c5c5c
|
helptext = #5c5c5c
|
||||||
fadedtext = #6c6c6c
|
fadedtext = #6c6c6c
|
||||||
errortext = red
|
errortext = red
|
||||||
|
|
||||||
[Syntax]
|
[Syntax]
|
||||||
background = #ffffff
|
background = #ffffff
|
||||||
text = #000000
|
text = #000000
|
||||||
link = blue
|
link = blue
|
||||||
headertext = green
|
headertext = green
|
||||||
headertag = green:160
|
headertag = green:L135
|
||||||
emphasis = orange
|
emphasis = orange
|
||||||
dialog = blue
|
dialog = blue
|
||||||
altdialog = blue
|
altdialog = blue
|
||||||
note = yellow
|
note = yellow
|
||||||
hidden = faded
|
hidden = faded
|
||||||
shortcode = green
|
shortcode = green
|
||||||
keyword = red
|
keyword = red
|
||||||
tag = green
|
tag = green
|
||||||
value = blue
|
value = blue
|
||||||
optional = green
|
optional = green
|
||||||
spellcheckline = red
|
spellcheckline = red
|
||||||
errorline = green
|
errorline = green
|
||||||
replacetag = green
|
replacetag = green
|
||||||
modifier = green
|
modifier = green
|
||||||
texthighlight = #c8c80060
|
texthighlight = #c8c80060
|
||||||
|
|
||||||
|
|
||||||
Theme Sections
|
Theme Sections
|
||||||
@@ -149,12 +149,15 @@ There are several ways to enter colour values:
|
|||||||
|
|
||||||
.. csv-table:: Colour Formats
|
.. csv-table:: Colour Formats
|
||||||
:header: "Syntax", "Description"
|
:header: "Syntax", "Description"
|
||||||
|
:widths: 15, 85
|
||||||
:class: "tight-table"
|
:class: "tight-table"
|
||||||
|
|
||||||
"``#RRGGBB``", "A CSS style hexadecimal values, like ``#ff0000`` for red."
|
"``#RRGGBB``", "A CSS style hexadecimal values, like ``#ff0000`` for red."
|
||||||
"``#RRGGBBAA``", "A CSS style hexadecimal values with transparency, like ``#ff00007f`` for half-transparent red."
|
"``#RRGGBBAA``", "A CSS style hexadecimal values with transparency, like ``#ff00007f`` for half-transparent red."
|
||||||
"``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."
|
"``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."
|
||||||
"``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."
|
"``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."
|
||||||
|
"``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."
|
||||||
|
"``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."
|
||||||
"``r, g, b``", "A set of red, green and blue numbers in the range ``0`` to ``255``, like ``255, 0, 0`` for red."
|
"``r, g, b``", "A set of red, green and blue numbers in the range ``0`` to ``255``, like ``255, 0, 0`` for red."
|
||||||
"``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."
|
"``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."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user