Module

Tecton.Halogen.Internal

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

#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
  ]
  [ ... ]

#styleSheet Source

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

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