When comparing Garden (Clojure) vs Pleeease, the Slant community recommends Garden (Clojure) for most people. In the question“What are the best CSS preprocessors/postprocessors?” Garden (Clojure) is ranked 9th while Pleeease is ranked 12th. The most important reason people chose Garden (Clojure) is:
With Garden, you have access to all the core features of a powerful programming language to build your scripts, including functions, variables, namespaces, and data manipulation like map merging or concatenation.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Style webpages with a full programming language
With Garden, you have access to all the core features of a powerful programming language to build your scripts, including functions, variables, namespaces, and data manipulation like map merging or concatenation.
Pro Full-stack Clojure with ClojureScript for front-end + Clojure for backend
Garden finishes the full Clojure stack experience — you can have the entire codebase in a single language with ClojureScript on the front-end, Clojure on the backend, and Garden for CSS.
Pro Hot loading
Using the core Garden auto loader or the excellent Garden Gnome plugin, watch your style changes take effect in the browser as soon as you save the code — no reload required.
Pro Styles as data-nesting are obvious
Clojure is a data-oriented programming language with strong emphasis on simple, clear inline data structures. Garden models styles using these same structures, making the cascade visually obvious.
Pro Clean syntax
Other options listed include various pain-points like use of @ symbols or too much cruft; because Garden is just Clojure, and Clojure is a very well-designed language aimed to emphasize simplicity and positive developer experience (without semantic whitespace problems), you have the full benefit of a well-designed and general-purpose syntax.
Pro CSS-engine accessible from front-end
Because Garden is also Clojurescript friendly, this means that you can dynamically effect styles based on app state.
Pro All-in-one post processor
preprocess CSS (experimental)
adds prefixes, based on Autoprefixer
provides fallbacks for rem unit, CSS3 pseudo-elements notation
adds opacity filter for IE8
converts CSS shorthand filters to SVG equivalent
packs same media-query in one @media rule
inlines @import styles
minifies the result
generates sourcemaps from pre- to postprocessors
Pro Combines media queries into single rules
If you have repeated media queries in your stylesheet, Pleeease will pack them into a single media query when compiled.
Pro Rem fallback
Rem unites are not supported in IE8 and below, so Pleeease provides a pixel fallback.
Pro Uses Autoprefixer
Pleeease uses Autoprefixer to add vendor prefixes based on which browsers you want to support (prefixes are added based on information from caniuse.com.
Cons
Con Harder to apply shared styles
Because you are working in Clojure, you can't just paste in raw css style snippets shared elsewhere.
Con Not very popular
Pleeease is not very popular. This may make finding guides, tutorials or resources outside the official ones difficult.
