This library integrates Tecton and Halogen, allowing you to create Tecton style sheets and inline styles under Halogen's HTML model.
Examples can be found in the tests.
Installation
The preferred installation method is Spago.
spago install tecton-halogen
If your project's package set doesn't include tecton-halogen
, then add it in
your packages.dhall
file first. For example:
let upstream = https://raw.githubusercontent.com/purescript/package-sets/psc-0.15.4-20221010/src/packages.dhall
in upstream
with tecton-halogen =
{ dependencies =
[ "halogen"
, "lists"
, "prelude"
, "tecton"
, "transformers"
]
, repo =
"https://github.com/nsaunders/purescript-tecton-halogen.git"
, version =
"master"
}