diff options
author | Gokul Soumya | 2021-09-02 16:35:33 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-09-05 03:42:03 +0000 |
commit | e40e6db2271b9568352b7477ed8b9f9895881cf9 (patch) | |
tree | 3a45d4704d4c01b50fdac8191a045aa1ca4b8480 /book | |
parent | 95cd2c645b853b8b31792a5f97a144676198927f (diff) |
feat: Default theme palette using 16 terminal colors
Diffstat (limited to 'book')
-rw-r--r-- | book/src/themes.md | 21 |
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` | |