garden icon indicating copy to clipboard operation
garden copied to clipboard

Generate CSS with Clojure

Results 43 garden issues
Sort by recently updated
recently updated
newest added

``` (percent* (percent 50) (percent 50)) => #garden.types.CSSUnit{:unit :%, :magnitude 2500} ```

v1.x.x
patch welcome

It seems that the [`::marker` pseudo element](https://developer.mozilla.org/en-US/docs/Web/CSS/::marker) isn't supported. Happy to submit a PR for this, but first wanted to double check if there are any specific reasons why this...

Requesting a new release be pushed. Due to #194 , warnings are output in the REPL every time it is started or deps are reloaded, for users who have upgraded...

This seems like a start. ``` clj (defn at-font-face [& {:as kwargs}] (let [kwargs (->> (select-keys kwargs [:family :weight :style :eot :woff :svg]) (remove (comp nil? second)) (into {})) font-attrs...

Attempting to use defcssfn for the example as in the documentation, I found that it doesn't exist for my cljs (Shadow) app.

As mentioned in https://github.com/green-coder/girouette/pull/74#issuecomment-974616150, the problem is: ```clojure (garden/css [".space-x-2" [#garden.selectors.CSSSelector{:selector "& > * + *"} {:margin-left "0.5rem"}]]) => ".space-x-2 & > * + * {\n margin-left: 0.5rem;\n}" ``` The...

Hi It seems that container queries are going to be a significant new feature in CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries https://ishadeed.com/article/say-hello-to-css-container-queries/ Could we have a support for these in Garden? Perhaps a new...

The Sass compiler supports "inner media queries" (for lack of a better name, that I know of): ![image](https://user-images.githubusercontent.com/1162994/52240393-fe85c900-28d0-11e9-9352-23e8f8066537.png) I'm failing to replicate that feature with Garden. This is my attempt:...

enhancement

I tried: `(at-keyframes :my-keyframes [(u/percent 10) {:foo :bar}])` But it did not work, the string representation of the unit itself was printed into the css. I expected units to work...

enhancement

The `as-hex` function from the color namespace do not take into account the alpha value of a color whereas CSS hex colors do support this.