Skip to content

bendyorke/boot-postcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boot-postcss

Clojars Project

A boot plugin to run your css through PostCSS & use css modules.

[bendyorke/boot-postcss "0.0.1"] ;; latest release

Why?

Coming from JavaScript, one of the tools I enjoy most is css-modules. They make css so easy to work with. However, there is no clojure tooling for this front end wonder!

When?

As you can see from the version number, this is still a work in progress! I've outlined what I'm aiming to have for v1.0.0. If there is something you would like to see in v1.0, if you'd like to contribute, or if you're just curious head to the issues tab to see more.

How?

Currently boot-postcss will run any .css file in your directory path through a prefefined set of postcss plugins (these will be editable soon!). You can pass two options: -o <filename> and -m. More information about the options can be found below or by running boot postcss -h.

-o, --output-filename NAME  Set file to concat all styles into.  If none is provided,
                              each css file will be written seperately to NAME.
-m, --modules               Enable CSS Modules

About

PostCSS runner for boot-clj

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages