aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorGokul Soumya2021-09-02 16:35:33 +0000
committerBlaž Hrastnik2021-09-05 03:42:03 +0000
commite40e6db2271b9568352b7477ed8b9f9895881cf9 (patch)
tree3a45d4704d4c01b50fdac8191a045aa1ca4b8480 /book
parent95cd2c645b853b8b31792a5f97a144676198927f (diff)
feat: Default theme palette using 16 terminal colors
Diffstat (limited to 'book')
-rw-r--r--book/src/themes.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 0a4d58ad..8642e659 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -123,3 +123,24 @@ black = "#000000"
Remember that the `[palette]` table includes all keys after its header,
so you should define the palette after normal theme options.
+
+If there is no `[palette]` section, a default palette which uses the terminal's default 16 colors are used:
+
+| Color Name |
+| --- |
+| `black` |
+| `red` |
+| `green` |
+| `yellow` |
+| `blue` |
+| `magenta` |
+| `cyan` |
+| `gray` |
+| `light-red` |
+| `light-green` |
+| `light-yellow` |
+| `light-blue` |
+| `light-magenta` |
+| `light-cyan` |
+| `light-gray` |
+| `white` |