[ANN]OCaml-css 0.2.0

Hello,

OCaml-css 0.2.0 is released and already available in opam (package css).

OCaml-css is a library to parse and print CSS. (docs)

Main changes are the introduction of property spaces and partial handling of nested rules.

Properties are now defined in spaces. A Css space is predefined, with some CSS properties, but you can define a new space with specific properties to use the CSS syntax for these properties in your application. (this is what is done in the to be not yet released 0.2.0 version of stk).

Nested style rules are now parsed and can be expanded. Nested @-rules are not handled yet.

3 Likes

It’s nice to see the package updated in opam! Do you also plan to update stk soon ?

The stk* packages are submitted to opam repo.