summaryrefslogtreecommitdiffstats
path: root/website
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2019-06-10 18:30:05 +0200
committerCanop <cano.petrole@gmail.com>2019-06-10 18:30:05 +0200
commit0b4b9a5f54585afe714a47c8dc91cbbb1d41c20e (patch)
tree1209f225c64132d3484ce472c50d5485de736478 /website
parent7cf1934427cb9f7a8b4822d053edef7908bc91d3 (diff)
Ansi colors can now be specified in skin configuration
Diffstat (limited to 'website')
-rw-r--r--website/docs/documentation/configuration.md9
-rw-r--r--website/docs/img/vache.pngbin0 -> 35617 bytes
2 files changed, 9 insertions, 0 deletions
diff --git a/website/docs/documentation/configuration.md b/website/docs/documentation/configuration.md
index 2253a0a..42a5404 100644
--- a/website/docs/documentation/configuration.md
+++ b/website/docs/documentation/configuration.md
@@ -165,6 +165,15 @@ Each skin entry value is made of
* a background color (or `none`)
* zero, one, or more *attributes*
+A color can be
+
+* `none`
+* an [Ansi value](https://en.wikipedia.org/wiki/ANSI_escape_code), for example `ansi(160)`
+* a grayscale value, with a level between 0 and 23, for example `grey(3)`
+* a RGB color, for example `rgb(255, 187, 0)`
+
+Beware that many terminals aren't compatible with RGB 24 bits colors (or aren't usually configured for).
+
Currently supported attributes are:
* bold
diff --git a/website/docs/img/vache.png b/website/docs/img/vache.png
new file mode 100644
index 0000000..72da111
--- /dev/null
+++ b/website/docs/img/vache.png
Binary files differ