atomic-css-0.1.0: Type-safe, composable CSS utility functions. Inspired by Tailwindcss and Elm-UI
Safe HaskellNone
LanguageGHC2021

Web.Atomic.CSS.Text

Documentation

bold :: Styleable h => CSS h -> CSS h Source #

fontSize :: Styleable h => Length -> CSS h -> CSS h Source #

color :: (Styleable h, ToColor clr) => clr -> CSS h -> CSS h Source #

italic :: Styleable h => CSS h -> CSS h Source #

data Align Source #

Instances

Instances details
ToClassName Align Source # 
Instance details

Defined in Web.Atomic.CSS.Text

ToStyle Align Source # 
Instance details

Defined in Web.Atomic.CSS.Text

Methods

style :: Align -> Style Source #

Show Align Source # 
Instance details

Defined in Web.Atomic.CSS.Text

Methods

showsPrec :: Int -> Align -> ShowS #

show :: Align -> String #

showList :: [Align] -> ShowS #

textAlign :: Styleable h => Align -> CSS h -> CSS h Source #

data WhiteSpace Source #

Constructors

Pre 
PreWrap 
PreLine 
BreakSpaces 

Instances

Instances details
ToClassName WhiteSpace Source # 
Instance details

Defined in Web.Atomic.CSS.Text

ToStyle WhiteSpace Source # 
Instance details

Defined in Web.Atomic.CSS.Text

Show WhiteSpace Source # 
Instance details

Defined in Web.Atomic.CSS.Text

PropertyStyle WhiteSpace WhiteSpace Source # 
Instance details

Defined in Web.Atomic.CSS.Text

PropertyStyle WhiteSpace Normal Source # 
Instance details

Defined in Web.Atomic.CSS.Text

PropertyStyle WhiteSpace Wrap Source # 
Instance details

Defined in Web.Atomic.CSS.Text