catppuccin

Catppuccin colors for nim.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-22 05:28

Installation

nimble install catppuccin
choosenim install catppuccin
git clone https://github.com/catppuccin/nim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
catppuccin - - - - - - -

Source

Repository https://github.com/catppuccin/nim
Homepage https://github.com/catppuccin/nim
Registry Source nimble_official

README

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