thheller / shadow-css

CSS-in-CLJ(S)
https://github.com/thheller/shadow-css
Eclipse Public License 1.0
110 stars 10 forks source link

Move alias-groups to build-state #11

Closed jmickey8080 closed 1 year ago

jmickey8080 commented 1 year ago

Move alias-groups to build-state to allow customization. Changes can be made by modifying cb/init before passing into cb/start.

Examples:

(assoc-in (cb/init) [:alias-groups :color "border-bottom-"] :border-bottom-color) (assoc-in (cb/init) [:alias-groups :spacing "min-w-"] [:min-width])

thheller commented 1 year ago

Makes sense. Thanks.