This module defines an adapter between the purescript-halogen and purescript-css libraries.
newtype Styles
= Styles (SM.StrMap String)A newtype for CSS styles
runStyles :: Styles -> SM.StrMap StringUnpack CSS styles
instance stylesIsAttribute :: A.IsAttribute Stylesstyle :: forall i. Css -> A.Attr iRender a set of rules as an inline style.
For example:
H.div [ Css.style do color red
display block ]
[ ... ]stylesheet :: forall i. Css -> H.HTML iRender a set of rules as a style element.