cascading-0.1.0: DSL for HTML CSS (Cascading Style Sheets)

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

Data.CSS.Properties.Font

Contents

Description

 

Synopsis

Colors and background

backgroundAttachment :: BackgroundAttachment -> SetPropSource

Set the background-attachment.

backgroundColor :: (ColourOps f, ToPropValue (f a)) => f a -> SetPropSource

Set the background-color.

backgroundImage :: Maybe (CssUrl Text) -> SetPropSource

Set the background-image.

backgroundImageUrl :: MonadRoute m => Maybe (URL m) -> SetPropM mSource

Set the background-image.

backgroundPosition :: (Real a, Real b) => FactorLen Length a -> FactorLen Length b -> SetPropSource

Set the background-position.

backgroundRepeat :: BackgroundRepeat -> SetPropSource

Set background-repeat.

color :: (ColourOps f, ToPropValue (f a)) => f a -> SetPropSource

Set the foreground color.

Fonts

fontFamily :: [FontFamily] -> SetPropSource

Set the font-family choices.

fontSize :: Real a => FontSize a -> SetPropSource

Set the font-size.

fontStyle :: FontStyle -> SetPropSource

Set the font-style.

fontVariant :: FontVariant -> SetPropSource

Set the font-variant.

fontWeight :: FontWeight -> SetPropSource

Set the font-weight.

Text decoration

textDecoration :: Maybe TextDecoration -> SetPropSource

Set the text-decoration.