Module

Tecton.Halogen

Package
purescript-tecton-halogen
Repository
nsaunders/purescript-tecton-halogen

Re-exports from Tecton.Halogen.Internal

#styleSheet Source

styleSheet :: forall p i. CSS -> HTML p i

Creates a style element with the specified style sheet rendered as its text content.

#style Source

style :: forall ps p i. Writer (List Declaration') ps -> IProp (style :: String | p) i

Renders declarations as an inline style, e.g.

HH.header
  [ CSS.style Rule.do
      width := pct 100
      height := px 64
  ]
  [ ... ]