catppuccin / nim

:crown: Soothing pastel theme for Nim

Home Page:http://nim.catppuccin.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo
Catppuccin for nim

Usage

nimble install catppuccin

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

πŸ’ Thanks to

 

Copyright Β© 2021-present Catppuccin Org

About

:crown: Soothing pastel theme for Nim

http://nim.catppuccin.com/

License:MIT License


Languages

Language:Nim 100.0%