It would be nice to have the concept of a project file to state the configuration of a shadow-css project in much the way shadow-cljs has. Has this crossed your mind? A structure for shadow-css.edn could be something along the lines of:
{:builds
{:frontend
{:target-namespaces '[my.namespaces*]
:output-dir "some/directory/css"
:extra-colors {"primary" {"" "#293c65"}}
:extra-aliases {:animate-none {:animation "none"}
:animate-spin {:animation "spin 1s linear infinite"}}}}}
Then shadow.css.runner or similar could provide helpers like watch, once etc.
Let me know what you think and I can knock something up.
It would be nice to have the concept of a project file to state the configuration of a shadow-css project in much the way shadow-cljs has. Has this crossed your mind? A structure for
shadow-css.edncould be something along the lines of:{:builds {:frontend {:target-namespaces '[my.namespaces*] :output-dir "some/directory/css" :extra-colors {"primary" {"" "#293c65"}} :extra-aliases {:animate-none {:animation "none"} :animate-spin {:animation "spin 1s linear infinite"}}}}}Then
shadow.css.runneror similar could provide helpers likewatch,onceetc.Let me know what you think and I can knock something up.