Does OCaml ecosystem have CSS preprocessors?

Does OCaml’s ecosystem have CSS preprocessors except CCSS (cause I want to write CSS in OCaml)?

1 Like

I’m not familiar with anything, but it would be really nice if we had something like

I’ve used bs-css to write CSS in OCaml.

It allows you to write something like:

open CSS
let card = style
  display flexBox;
  flexDirection column;
  boxShadow ~y:(px 3) ~blur:(px 5) (rgba 0 0 0 0 0.3);