mirror of
https://github.com/catppuccin/nim.git
synced 2024-12-21 18:40:44 -06:00
👑 soothing pastel theme for nim
.github/workflows | ||
assets | ||
examples | ||
src | ||
tests | ||
tools | ||
.editorconfig | ||
.gitignore | ||
catppuccin.nimble | ||
LICENSE | ||
README.md |
Catppuccin for nim
Usage
nimble install https://github.com/catppuccin/nim
The catppuccin
nim library was designed to interface with treeform/chroma
, however it is not required for basic usage. Some of the basic color types and transformations have been ported from 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
.
Examples
import catppuccin
echo mocha.rosewater.color().toHex()
Output of nim r examples/term.nim
:
🙋 FAQ
- Q: "Where can I find the doc?"
A: Documentation
💝 Thanks to
Copyright © 2021-present Catppuccin Org