package styled-ppx

  1. Overview
  2. Docs
Type-safe styled components for ReScript and Melange

Install

Dune Dependency

Authors

Maintainers

Sources

styled-ppx-0.56.0.tbz
sha256=f93a08d11849c6010fc3e1c5650d811a14dc60d1f2ea74edb6e2514f12d9f35f
sha512=ad90141c288c368ee60455380706deacc41daffb412e9716c28eadc7aff0360110ca0b953a71b4c58eb6ad33c4dafbc066a9002cc0b17a2fd2dd8a5714f7c668

Description

styled-ppx is the ppx that brings styled components to ReScript and Melange, allowing you to create React Components with type-safe style definitions using CSS.

Published: 26 Apr 2024

README

README.md

Typed styled components for ReScript, Melange and Native

styled-ppx is a ppx and a library that brings styled components to ReScript and Melange. It allows you to create React Components with type-safe style definitions that don't rely on a different language (DSL) except CSS, but also can be used without React.

Built on top of emotion, it allows you to style apps safely, quickly, and performantly - just as you have always done it.

Documentation

For the entire documentation, visit styled-ppx.vercel.app

Editor Support

We provide an editor extension that brings syntax highlighting:

Contributing

We would love your help improving styled-ppx! Please see our contributing and community guidelines; they'll help you get set up locally and explain the whole process: CONTRIBUTING.md

License

This project is licensed under the Simplified BSD License (BSD 2-Clause License)

Dependencies (11)

  1. reason-react >= "0.14.0"
  2. server-reason-react
  3. melange >= "3.0.0"
  4. sedlex >= "3.2"
  5. ppxlib >= "0.27.0"
  6. ppx_deriving_yojson >= "3.7.0"
  7. ppx_deriving >= "5.0"
  8. menhir >= "20220210"
  9. reason >= "3.11.0"
  10. ocaml >= "5.1.0"
  11. dune >= "3.8"

Dev Dependencies (7)

  1. odoc with-doc
  2. utop with-dev-setup
  3. ocamlformat with-dev-setup
  4. ocaml-lsp-server with-dev-setup
  5. reason-react-ppx with-dev-setup
  6. conf-npm with-test
  7. alcotest with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.