(color-css-value color)Resolve a normalized color token to a var(--x-color-…, fallback) CSS string.
Resolve a normalized color token to a `var(--x-color-…, fallback)` CSS string.
(derive-state {:keys [variant radius padding color intensity size static?
motion-ok?]})Pure transform from raw attribute inputs to a complete view-model.
static? collapses the explicit static attribute and reduced-motion preference
so the DOM layer does not need to repeat that logic.
Pure transform from raw attribute inputs to a complete view-model. `static?` collapses the explicit `static` attribute and reduced-motion preference so the DOM layer does not need to repeat that logic.
(intensity-css-value intensity)Resolve a normalized intensity token to a numeric opacity string.
Resolve a normalized intensity token to a numeric opacity string.
(size-css-value size)Resolve a normalized size token to a px length string.
Resolve a normalized size token to a px length string.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |