docs: add example screenshot

This commit is contained in:
Daylin Morgan 2023-04-26 20:17:31 -05:00
parent b8abe92f91
commit 0cb98d4b4e
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 111 additions and 1 deletions

View file

@ -22,7 +22,7 @@ The `catppuccin` nim library was designed to interface with [`treeform/chroma`](
If you do wish to access `catppuccin` colors alongside `chroma` compile with `-d:inheritChroma` (see `./examples/use_chroma.nim`) to use the color types defined by `chroma`.
### Example
### Examples
```nim
import catppuccin
@ -30,6 +30,11 @@ import catppuccin
echo mocha.rosewater.color().toHex()
```
Output of `nim r examples/term.nim`:
![example screenshot](./assets/term.svg)
<!-- this section is optional -->
## 🙋 FAQ

105
assets/term.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB