rabbit
The Hundred Rabbits theme ecosystem brought to Nim.
Summary
| Latest Version | 0.1.0 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-09-01 07:18 |
Tags
Authors
- Reilly Moore
Installation
nimble install rabbit
choosenim install rabbit
git clone https://github.com/tonogram/rabbit
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| rabbit | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.4.0 | No |
| chroma >= | 0.1.3 | No |
Source
| Repository | https://github.com/tonogram/rabbit |
|---|---|
| Homepage | https://github.com/tonogram/rabbit |
| Registry Source | nimble_official |
README
rabbit
nimble install rabbit
Rabbit brings the Hundred Rabbits theme ecosystem to Nim.
Usage is really simple.
import rabbit
# Load a theme!
var theme = readTheme("june.svg")
# Get the colors!
echo theme.background
echo theme.f_high.toHex()
echo theme.f_med.toHexAlpha()
echo theme.f_low.toHtmlHex()
echo theme.f_inv.toHtmlHexTiny()
echo theme.b_high.toHtmlRgb()
echo theme.b_med.toHtmlRgba()
echo theme.b_low
echo theme.b_inv.toHex()
Rabbit doesn't support the JS target, mainly because doing so would be pointless.
