Karkas is a library for Karax frontend framework that makes it a bit easier to build layouts and work with styles.
Karkas is split into two modules: karkas/styles
and karkas/sugar
.
karkas/styles
contains ready to use styles to turn HTML elements into boxes and containers.
karkas/sugar
contains <-
func that merges two styles and k
func that turns a string
into a kstring
. Those can be used entirely on their own as syntactic sugar to Karax regardless of Karkas's styles.
Add Karkas to your .nimble file:
requires karkas