clay-0.13.1: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

Clay.Text

Contents

Synopsis

Letter and word-spacing.

Text-rendering.

data TextRendering #

Instances
Val TextRendering # 
Instance details

Defined in Clay.Text

Methods

value :: TextRendering -> Value #

Other TextRendering # 
Instance details

Defined in Clay.Text

Methods

other :: Value -> TextRendering #

Inherit TextRendering # 
Instance details

Defined in Clay.Text

Auto TextRendering # 
Instance details

Defined in Clay.Text

Methods

auto :: TextRendering #

Text-shadow.

textShadow :: Size a -> Size a -> Size a -> Color -> Css #

Text-indent.

Supply a length — optionally annotated with each-line or hanging or both, or a global value. It is possible to apply the same annotation multiple times, but it has no defined effect.

Note browser support is currently (March 2018) non-existent, but the Prince typesetting system supports the syntax.

Formal argument syntax

<length-percentage> && hanging? && each-line?
where
<length-percentage> = <length> | <percentage>

data TextIndent #

Instances
Val TextIndent # 
Instance details

Defined in Clay.Text

Methods

value :: TextIndent -> Value #

Other TextIndent # 
Instance details

Defined in Clay.Text

Methods

other :: Value -> TextIndent #

Unset TextIndent # 
Instance details

Defined in Clay.Text

Methods

unset :: TextIndent #

Initial TextIndent # 
Instance details

Defined in Clay.Text

Methods

initial :: TextIndent #

Inherit TextIndent # 
Instance details

Defined in Clay.Text

Methods

inherit :: TextIndent #

eachLine :: TextIndent -> TextIndent #

Annotate the supplied TextIndent with each-line or hanging or both.

eachLine . hanging . indent $ px 3 :: TextIndent

hanging :: TextIndent -> TextIndent #

Annotate the supplied TextIndent with each-line or hanging or both.

eachLine . hanging . indent $ px 3 :: TextIndent

Text-direction.

data TextDirection #

Instances
Val TextDirection # 
Instance details

Defined in Clay.Text

Methods

value :: TextDirection -> Value #

Other TextDirection # 
Instance details

Defined in Clay.Text

Methods

other :: Value -> TextDirection #

Normal TextDirection # 
Instance details

Defined in Clay.Text

Inherit TextDirection # 
Instance details

Defined in Clay.Text

Text-align.

data TextAlign #

Instances
Val TextAlign # 
Instance details

Defined in Clay.Text

Methods

value :: TextAlign -> Value #

Other TextAlign # 
Instance details

Defined in Clay.Text

Methods

other :: Value -> TextAlign #

Normal TextAlign # 
Instance details

Defined in Clay.Text

Methods

normal :: TextAlign #

Inherit TextAlign # 
Instance details

Defined in Clay.Text

Methods

inherit :: TextAlign #

Center TextAlign # 
Instance details

Defined in Clay.Text

Methods

center :: TextAlign #

White-space.

data WhiteSpace #

Instances
Val WhiteSpace # 
Instance details

Defined in Clay.Text

Methods

value :: WhiteSpace -> Value #

Other WhiteSpace # 
Instance details

Defined in Clay.Text

Methods

other :: Value -> WhiteSpace #

Normal WhiteSpace # 
Instance details

Defined in Clay.Text

Methods

normal :: WhiteSpace #

Inherit WhiteSpace # 
Instance details

Defined in Clay.Text

Methods

inherit :: WhiteSpace #

Text-decoration.

data TextDecoration #

Instances
Val TextDecoration # 
Instance details

Defined in Clay.Text

Other TextDecoration # 
Instance details

Defined in Clay.Text

None TextDecoration # 
Instance details

Defined in Clay.Text

Inherit TextDecoration # 
Instance details

Defined in Clay.Text

Text-transform.

data TextTransform #

Instances
Val TextTransform # 
Instance details

Defined in Clay.Text

Methods

value :: TextTransform -> Value #

None TextTransform # 
Instance details

Defined in Clay.Text

Methods

none :: TextTransform #

Inherit TextTransform # 
Instance details

Defined in Clay.Text

Text-overflow.

data TextOverflow #

Instances
Val TextOverflow # 
Instance details

Defined in Clay.Text

Methods

value :: TextOverflow -> Value #

Initial TextOverflow # 
Instance details

Defined in Clay.Text

None TextOverflow # 
Instance details

Defined in Clay.Text

Methods

none :: TextOverflow #

Inherit TextOverflow # 
Instance details

Defined in Clay.Text

Word-break.

data WordBreak #

Instances
Val WordBreak # 
Instance details

Defined in Clay.Text

Methods

value :: WordBreak -> Value #

Unset WordBreak # 
Instance details

Defined in Clay.Text

Methods

unset :: WordBreak #

Initial WordBreak # 
Instance details

Defined in Clay.Text

Methods

initial :: WordBreak #

Normal WordBreak # 
Instance details

Defined in Clay.Text

Methods

normal :: WordBreak #

Inherit WordBreak # 
Instance details

Defined in Clay.Text

Methods

inherit :: WordBreak #

Overflow-wrap (and Word-wrap).

data OverflowWrap #

Instances
Val OverflowWrap # 
Instance details

Defined in Clay.Text

Methods

value :: OverflowWrap -> Value #

Unset OverflowWrap # 
Instance details

Defined in Clay.Text

Methods

unset :: OverflowWrap #

Initial OverflowWrap # 
Instance details

Defined in Clay.Text

Normal OverflowWrap # 
Instance details

Defined in Clay.Text

Inherit OverflowWrap # 
Instance details

Defined in Clay.Text

Content.

data Content #

Instances
Val Content # 
Instance details

Defined in Clay.Text

Methods

value :: Content -> Value #

Initial Content # 
Instance details

Defined in Clay.Text

Methods

initial :: Content #

Normal Content # 
Instance details

Defined in Clay.Text

Methods

normal :: Content #

None Content # 
Instance details

Defined in Clay.Text

Methods

none :: Content #

Inherit Content # 
Instance details

Defined in Clay.Text

Methods

inherit :: Content #