noprompt / garden

Generate CSS with Clojure
1.34k stars 87 forks source link

`::marker` pseudo element isn't supported #196

Open mneise opened 2 years ago

mneise commented 2 years ago

It seems that the ::marker pseudo element isn't supported. Happy to submit a PR for this, but first wanted to double check if there are any specific reasons why this isn't supported?

harold commented 2 years ago

Interesting.

Possible workaround in the meantime:

user=> (require 'garden.core)
nil
user=> (println (garden.core/css ["li::marker" {:color :red}]))
li::marker {
  color: red;
}

I'd be interested to see the PR (esp. if it included a test)... I don't currently see how to render the garden.selectors pseudoelements.

ZehCnaS34 commented 1 year ago

PR #202 was merged

marker should be available is you reference the commit in deps