No description
Find a file
2020-10-24 14:39:30 -05:00
src readme now shows all fields 2020-10-24 14:39:30 -05:00
tests even better demo!! 2020-10-23 18:10:55 -05:00
.gitignore first version 2020-10-23 09:07:55 -05:00
LICENSE Initial commit 2020-10-22 10:39:02 -05:00
rabbit.nimble first version 2020-10-23 09:07:55 -05:00
README.md readme now shows all fields 2020-10-24 14:39:30 -05:00

rabbit

nimble

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.