👑 soothing pastel theme for nim
Find a file
2023-04-27 09:14:22 -05:00
.github/workflows ci: remove conditional 2023-04-27 09:10:54 -05:00
assets docs: add example screenshot 2023-04-26 20:20:59 -05:00
examples feat: implement catppuccin in nim 2023-04-26 20:20:59 -05:00
src fix: remove unused ColorRGBX 2023-04-27 09:14:22 -05:00
tests feat: implement catppuccin in nim 2023-04-26 20:20:59 -05:00
tools feat: implement catppuccin in nim 2023-04-26 20:20:59 -05:00
.editorconfig add template files 2023-04-25 14:43:16 -05:00
.gitignore feat: implement catppuccin in nim 2023-04-26 20:20:59 -05:00
catppuccin.nimble feat: implement catppuccin in nim 2023-04-26 20:20:59 -05:00
LICENSE add template files 2023-04-25 14:43:16 -05:00
README.md docs: update shield links 2023-04-26 20:44:24 -05:00

Logo
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:

example screenshot

🙋 FAQ

  • Q: "Where can I find the doc?"
    A: Run nimble docs

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org