https://github.com/catppuccin/nim
:crown: Soothing pastel theme for Nim
https://github.com/catppuccin/nim
catppuccin hacktoberfest library nim nim-lang theme
Last synced: 11 months ago
JSON representation
:crown: Soothing pastel theme for Nim
- Host: GitHub
- URL: https://github.com/catppuccin/nim
- Owner: catppuccin
- License: mit
- Created: 2023-04-25T16:57:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T01:46:05.000Z (almost 2 years ago)
- Last Synced: 2024-11-12T00:42:33.908Z (over 1 year ago)
- Topics: catppuccin, hacktoberfest, library, nim, nim-lang, theme
- Language: Nim
- Homepage: http://nim.catppuccin.com/
- Size: 39.1 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Catppuccin for nim
## Usage
```sh
nimble install catppuccin
```
The `catppuccin` nim library was designed to interface with [`treeform/chroma`](https://github.com/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
```nim
import catppuccin
echo mocha.rosewater.color().toHex()
```
Output of `nim r examples/term.nim`:

## 🙋 FAQ
- Q: **_"Where can I find the doc?"_**\
A: [Documentation](https://catppuccin.github.io./nim)
## 💝 Thanks to
- [daylinmorgan](https://github.com/daylinmorgan)
Copyright © 2021-present Catppuccin Org