Skip to content

Minifying Garden classes showing up in advanced CLJS builds

Notifications You must be signed in to change notification settings

helins/fcss.cljc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional CSS

Advanced CSS toolkit providing:

  • Browser dev environment with live generation and reloading of CSS (written using Garden)
  • Prevention of name clashes by design
  • Aggressive CSS optimization for advanced CLJS builds:
    • Dead rule elimination, only ship what is stricly needed
    • Splitting of classes into short-named atomic styles for maximum rule reuse

The end result is a similar experience to CSS-in-JS with a notable difference: everything is effectively static and pre-computed. It is a zero cost abstraction without any burden during runtime, quite the opposite.

Release pending.

Acknowledgment

Special thanks to Productions Associées ASBL for funding the upcoming release of this library.

License

Copyright © 2021 Adam Helinski

Licensed under the term of the Mozilla Public License 2.0, see LICENSE.

About

Minifying Garden classes showing up in advanced CLJS builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages