Karkas is a library that makes creating web sites with Karax a bit more pleasant. It offers a bunch of styles to build layouts and some syntactic sugar to save you typing.
Karkas allows you to create complex layouts by combining basic primitives. It also offers a clean syntax for style combination, which lets you write clear code and be obvious about your intentions as a programmer.
For example, you can write something like this: tdiv(style = hStack() <- box(2) <- {border: "solid"}). Which means there's a vertical stack which is in turn a box of size 2 inside another container, with a solid border.
Name: Karkas
Author: moigagoo
Posting:
Karkas is a library that makes creating web sites with Karax a bit more pleasant. It offers a bunch of styles to build layouts and some syntactic sugar to save you typing.
Karkas allows you to create complex layouts by combining basic primitives. It also offers a clean syntax for style combination, which lets you write clear code and be obvious about your intentions as a programmer.
For example, you can write something like this:
tdiv(style = hStack() <- box(2) <- {border: "solid"})
. Which means there's a vertical stack which is in turn a box of size 2 inside another container, with a solid border.Find the official tutorial at https://karkas.nim.town.
Repo: https://github.com/moigagoo/karkas