clay-0.15.0: CSS preprocessor as embedded Haskell.
Safe HaskellNone
LanguageHaskell2010

Clay.Property

Synopsis

Documentation

data Prefixed #

Constructors

Prefixed 

Fields

Plain 

Fields

Instances

Instances details
IsString Prefixed # 
Instance details

Defined in Clay.Property

Monoid Prefixed # 
Instance details

Defined in Clay.Property

Semigroup Prefixed # 
Instance details

Defined in Clay.Property

Show Prefixed # 
Instance details

Defined in Clay.Property

Eq Prefixed # 
Instance details

Defined in Clay.Property

newtype Key a #

Constructors

Key 

Fields

Instances

Instances details
IsString (Key a) # 
Instance details

Defined in Clay.Property

Methods

fromString :: String -> Key a #

Monoid (Key a) # 
Instance details

Defined in Clay.Property

Methods

mempty :: Key a #

mappend :: Key a -> Key a -> Key a #

mconcat :: [Key a] -> Key a #

Semigroup (Key a) # 
Instance details

Defined in Clay.Property

Methods

(<>) :: Key a -> Key a -> Key a #

sconcat :: NonEmpty (Key a) -> Key a #

stimes :: Integral b => b -> Key a -> Key a #

Show (Key a) # 
Instance details

Defined in Clay.Property

Methods

showsPrec :: Int -> Key a -> ShowS #

show :: Key a -> String #

showList :: [Key a] -> ShowS #

cast :: Key a -> Key () #

newtype Value #

Constructors

Value 

Fields

Instances

Instances details
IsString Value # 
Instance details

Defined in Clay.Property

Methods

fromString :: String -> Value #

Monoid Value # 
Instance details

Defined in Clay.Property

Methods

mempty :: Value #

mappend :: Value -> Value -> Value #

mconcat :: [Value] -> Value #

Semigroup Value # 
Instance details

Defined in Clay.Property

Methods

(<>) :: Value -> Value -> Value #

sconcat :: NonEmpty Value -> Value #

stimes :: Integral b => b -> Value -> Value #

Show Value # 
Instance details

Defined in Clay.Property

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

All Value # 
Instance details

Defined in Clay.Common

Methods

all :: Value #

Auto Value # 
Instance details

Defined in Clay.Common

Methods

auto :: Value #

Baseline Value # 
Instance details

Defined in Clay.Common

Methods

baseline :: Value #

Center Value # 
Instance details

Defined in Clay.Common

Methods

center :: Value #

Hidden Value # 
Instance details

Defined in Clay.Common

Methods

hidden :: Value #

Inherit Value # 
Instance details

Defined in Clay.Common

Methods

inherit :: Value #

Initial Value # 
Instance details

Defined in Clay.Common

Methods

initial :: Value #

None Value # 
Instance details

Defined in Clay.Common

Methods

none :: Value #

Normal Value # 
Instance details

Defined in Clay.Common

Methods

normal :: Value #

Other Value # 
Instance details

Defined in Clay.Common

Methods

other :: Value -> Value #

Unset Value # 
Instance details

Defined in Clay.Common

Methods

unset :: Value #

Visible Value # 
Instance details

Defined in Clay.Common

Methods

visible :: Value #

FlexEnd Value # 
Instance details

Defined in Clay.Flexbox

Methods

flexEnd :: Value #

FlexStart Value # 
Instance details

Defined in Clay.Flexbox

Methods

flexStart :: Value #

SpaceAround Value # 
Instance details

Defined in Clay.Flexbox

Methods

spaceAround :: Value #

SpaceBetween Value # 
Instance details

Defined in Clay.Flexbox

Methods

spaceBetween :: Value #

SpaceEvenly Value # 
Instance details

Defined in Clay.Flexbox

Methods

spaceEvenly :: Value #

Stretch Value # 
Instance details

Defined in Clay.Flexbox

Methods

stretch :: Value #

Val Value # 
Instance details

Defined in Clay.Property

Methods

value :: Value -> Value #

Eq Value # 
Instance details

Defined in Clay.Property

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

class Val a where #

Methods

value :: a -> Value #

Instances

Instances details
Val AnimationDirection # 
Instance details

Defined in Clay.Animation

Val AnimationName # 
Instance details

Defined in Clay.Animation

Methods

value :: AnimationName -> Value #

Val FillMode # 
Instance details

Defined in Clay.Animation

Methods

value :: FillMode -> Value #

Val IterationCount # 
Instance details

Defined in Clay.Animation

Val PlayState # 
Instance details

Defined in Clay.Animation

Methods

value :: PlayState -> Value #

Val BackgroundAttachment # 
Instance details

Defined in Clay.Background

Val BackgroundClip # 
Instance details

Defined in Clay.Background

Val BackgroundImage # 
Instance details

Defined in Clay.Background

Val BackgroundOrigin # 
Instance details

Defined in Clay.Background

Val BackgroundPosition # 
Instance details

Defined in Clay.Background

Val BackgroundRepeat # 
Instance details

Defined in Clay.Background

Val BackgroundSize # 
Instance details

Defined in Clay.Background

Val Direction # 
Instance details

Defined in Clay.Background

Methods

value :: Direction -> Value #

Val Location # 
Instance details

Defined in Clay.Background

Methods

value :: Location -> Value #

Val Side # 
Instance details

Defined in Clay.Background

Methods

value :: Side -> Value #

Val Stroke # 
Instance details

Defined in Clay.Border

Methods

value :: Stroke -> Value #

Val BoxType # 
Instance details

Defined in Clay.Box

Methods

value :: BoxType -> Value #

Val Color # 
Instance details

Defined in Clay.Color

Methods

value :: Color -> Value #

Val Clear # 
Instance details

Defined in Clay.Display

Methods

value :: Clear -> Value #

Val Clip # 
Instance details

Defined in Clay.Display

Methods

value :: Clip -> Value #

Val Display # 
Instance details

Defined in Clay.Display

Methods

value :: Display -> Value #

Val FloatStyle # 
Instance details

Defined in Clay.Display

Methods

value :: FloatStyle -> Value #

Val Overflow # 
Instance details

Defined in Clay.Display

Methods

value :: Overflow -> Value #

Val PointerEvents # 
Instance details

Defined in Clay.Display

Methods

value :: PointerEvents -> Value #

Val Position # 
Instance details

Defined in Clay.Display

Methods

value :: Position -> Value #

Val Visibility # 
Instance details

Defined in Clay.Display

Methods

value :: Visibility -> Value #

Val UserFocus # 
Instance details

Defined in Clay.Dynamic

Methods

value :: UserFocus -> Value #

Val UserInput # 
Instance details

Defined in Clay.Dynamic

Methods

value :: UserInput -> Value #

Val UserModify # 
Instance details

Defined in Clay.Dynamic

Methods

value :: UserModify -> Value #

Val UserSelect # 
Instance details

Defined in Clay.Dynamic

Methods

value :: UserSelect -> Value #

Val Filter # 
Instance details

Defined in Clay.Filter

Methods

value :: Filter -> Value #

Val AlignContentValue # 
Instance details

Defined in Clay.Flexbox

Val AlignItemsValue # 
Instance details

Defined in Clay.Flexbox

Val AlignSelfValue # 
Instance details

Defined in Clay.Flexbox

Val FlexDirection # 
Instance details

Defined in Clay.Flexbox

Methods

value :: FlexDirection -> Value #

Val FlexWrap # 
Instance details

Defined in Clay.Flexbox

Methods

value :: FlexWrap -> Value #

Val JustifyContentValue # 
Instance details

Defined in Clay.Flexbox

Val FontSize # 
Instance details

Defined in Clay.Font

Methods

value :: FontSize -> Value #

Val FontStyle # 
Instance details

Defined in Clay.Font

Methods

value :: FontStyle -> Value #

Val FontVariant # 
Instance details

Defined in Clay.Font

Methods

value :: FontVariant -> Value #

Val FontWeight # 
Instance details

Defined in Clay.Font

Methods

value :: FontWeight -> Value #

Val NamedFont # 
Instance details

Defined in Clay.Font

Methods

value :: NamedFont -> Value #

Val Optional # 
Instance details

Defined in Clay.Font

Methods

value :: Optional -> Value #

Val FontFaceSrc # 
Instance details

Defined in Clay.FontFace

Methods

value :: FontFaceSrc -> Value #

Val Extend # 
Instance details

Defined in Clay.Gradient

Methods

value :: Extend -> Value #

Val Radial # 
Instance details

Defined in Clay.Gradient

Methods

value :: Radial -> Value #

Val ListStyleImage # 
Instance details

Defined in Clay.List

Val ListStylePosition # 
Instance details

Defined in Clay.List

Val ListStyleType # 
Instance details

Defined in Clay.List

Methods

value :: ListStyleType -> Value #

Val MaskComposite # 
Instance details

Defined in Clay.Mask

Methods

value :: MaskComposite -> Value #

Val ColorScheme # 
Instance details

Defined in Clay.Media

Methods

value :: ColorScheme -> Value #

Val Resolution # 
Instance details

Defined in Clay.Media

Methods

value :: Resolution -> Value #

Val Literal # 
Instance details

Defined in Clay.Property

Methods

value :: Literal -> Value #

Val Number # 
Instance details

Defined in Clay.Property

Methods

value :: Number -> Value #

Val Value # 
Instance details

Defined in Clay.Property

Methods

value :: Value -> Value #

Val MediaType # 
Instance details

Defined in Clay.Stylesheet

Methods

value :: MediaType -> Value #

Val Content # 
Instance details

Defined in Clay.Text

Methods

value :: Content -> Value #

Val HyphenateCharacter # 
Instance details

Defined in Clay.Text

Val HyphenateLimit # 
Instance details

Defined in Clay.Text

Val Hyphens # 
Instance details

Defined in Clay.Text

Methods

value :: Hyphens -> Value #

Val OverflowWrap # 
Instance details

Defined in Clay.Text

Methods

value :: OverflowWrap -> Value #

Val TextAlign # 
Instance details

Defined in Clay.Text

Methods

value :: TextAlign -> Value #

Val TextDecoration # 
Instance details

Defined in Clay.Text

Val TextDirection # 
Instance details

Defined in Clay.Text

Methods

value :: TextDirection -> Value #

Val TextIndent # 
Instance details

Defined in Clay.Text

Methods

value :: TextIndent -> Value #

Val TextOverflow # 
Instance details

Defined in Clay.Text

Methods

value :: TextOverflow -> Value #

Val TextRendering # 
Instance details

Defined in Clay.Text

Methods

value :: TextRendering -> Value #

Val TextTransform # 
Instance details

Defined in Clay.Text

Methods

value :: TextTransform -> Value #

Val WhiteSpace # 
Instance details

Defined in Clay.Text

Methods

value :: WhiteSpace -> Value #

Val WordBreak # 
Instance details

Defined in Clay.Text

Methods

value :: WordBreak -> Value #

Val Time # 
Instance details

Defined in Clay.Time

Methods

value :: Time -> Value #

Val TransformBox # 
Instance details

Defined in Clay.Transform

Methods

value :: TransformBox -> Value #

Val TransformStyle # 
Instance details

Defined in Clay.Transform

Val Transformation # 
Instance details

Defined in Clay.Transform

Val TimingFunction # 
Instance details

Defined in Clay.Transition

Val Text # 
Instance details

Defined in Clay.Property

Methods

value :: Text -> Value #

Val Integer # 
Instance details

Defined in Clay.Property

Methods

value :: Integer -> Value #

Val a => Val (NonEmpty a) # 
Instance details

Defined in Clay.Property

Methods

value :: NonEmpty a -> Value #

Val (Required a) # 
Instance details

Defined in Clay.Font

Methods

value :: Required a -> Value #

Val (Angle a) # 
Instance details

Defined in Clay.Size

Methods

value :: Angle a -> Value #

Val (Size a) # 
Instance details

Defined in Clay.Size

Methods

value :: Size a -> Value #

Val a => Val (Maybe a) # 
Instance details

Defined in Clay.Property

Methods

value :: Maybe a -> Value #

Val a => Val [a] # 
Instance details

Defined in Clay.Property

Methods

value :: [a] -> Value #

(Val a, Val b) => Val (Either a b) # 
Instance details

Defined in Clay.Property

Methods

value :: Either a b -> Value #

(Val a, Val b) => Val (a, b) # 
Instance details

Defined in Clay.Property

Methods

value :: (a, b) -> Value #

newtype Literal #

Constructors

Literal Text 

Instances

Instances details
IsString Literal # 
Instance details

Defined in Clay.Property

Methods

fromString :: String -> Literal #

Monoid Literal # 
Instance details

Defined in Clay.Property

Semigroup Literal # 
Instance details

Defined in Clay.Property

Show Literal # 
Instance details

Defined in Clay.Property

Val Literal # 
Instance details

Defined in Clay.Property

Methods

value :: Literal -> Value #

data E5 #

Constructors

E5 

Instances

Instances details
HasResolution E5 # 
Instance details

Defined in Clay.Property

Methods

resolution :: p E5 -> Integer #

intercalate :: Monoid a => a -> [a] -> a #

newtype Number #

A number type to represent the CSS number type. It has fixed precision, supporting up to 5 decimal places.

Constructors

Number 

Fields

Instances

Instances details
Enum Number # 
Instance details

Defined in Clay.Property

Num Number # 
Instance details

Defined in Clay.Property

Read Number # 
Instance details

Defined in Clay.Property

Fractional Number # 
Instance details

Defined in Clay.Property

Real Number # 
Instance details

Defined in Clay.Property

RealFrac Number # 
Instance details

Defined in Clay.Property

Methods

properFraction :: Integral b => Number -> (b, Number) #

truncate :: Integral b => Number -> b #

round :: Integral b => Number -> b #

ceiling :: Integral b => Number -> b #

floor :: Integral b => Number -> b #

Show Number # 
Instance details

Defined in Clay.Property

Val Number # 
Instance details

Defined in Clay.Property

Methods

value :: Number -> Value #

Eq Number # 
Instance details

Defined in Clay.Property

Methods

(==) :: Number -> Number -> Bool #

(/=) :: Number -> Number -> Bool #

Ord Number # 
Instance details

Defined in Clay.Property

noCommas :: Val a => [a] -> Value #

(!) :: a -> b -> (a, b) infixr 9 #