Skip to content

Introduce a shadow-css.edn project file #26

@philjackson

Description

@philjackson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions