Themes: Document theme utilities
Opened this issue · 0 comments
paveldedik commented
Motivation
It is possible to do the following:
theme.sizes.xl * 0.8
theme.colors.primary.darken(2)
- etc.
It is also possible to define multiple kinds of color schemes:
Color("fff")
orColorRange(["#276662", "#4ecdc4", "#dbf5f3"])
Size(1, "em)
orSizeClamp(2, 1.5, 3.3)
Both is not documented anywhere.