This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-28
Channels
- # asami (1)
- # aws (9)
- # babashka (16)
- # beginners (32)
- # calva (2)
- # clj-kondo (20)
- # cljdoc (6)
- # clojure (35)
- # clojure-dev (25)
- # clojure-europe (11)
- # clojure-india (1)
- # clojure-norway (2)
- # clojure-spec (26)
- # clojure-uk (1)
- # clojurescript (41)
- # conjure (3)
- # css (9)
- # cursive (18)
- # data-oriented-programming (6)
- # data-science (2)
- # emacs (47)
- # events (1)
- # fulcro (15)
- # graalvm (30)
- # gratitude (7)
- # honeysql (27)
- # inf-clojure (4)
- # introduce-yourself (2)
- # lsp (129)
- # malli (7)
- # missionary (21)
- # nbb (17)
- # off-topic (18)
- # re-frame (6)
- # releases (1)
- # shadow-cljs (120)
- # vim (7)
- # xtdb (15)
Q: I have a stylesheet from a designer and I need to change some values in it. I’m hoping to use something like Enlive for CSS i.e. parse and transform raw CSS. Does something like this exist?
@U0VQ4N5EE very similar to your question. did you find anything?
Worst case I’ll use string match/replace but it would be nice to load the css as data. even better would be css -> garden i.e. round-trip Garden css
I haven't finished it, but the suggestion to use ANTLR4 sounds promising https://github.com/antlr/grammars-v4/tree/master/scss
👍 1
I've experimented a tiny bit with this http://cssparser.sourceforge.net/