From e40e6db2271b9568352b7477ed8b9f9895881cf9 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Thu, 2 Sep 2021 22:05:33 +0530 Subject: feat: Default theme palette using 16 terminal colors --- book/src/themes.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'book/src') 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` | -- cgit v1.2.3-70-g09d2