clay-0.15.0: CSS preprocessor as embedded Haskell.

Safe Haskell | None
Language | Haskell2010

Clay.Filter

Contents

- Filter property.
- Specific filter functions.

Synopsis

- data Filter
- filter :: Filter -> Css
- filters :: [Filter] -> Css
- url :: Text -> Filter
- blur :: Size LengthUnit -> Filter
- brightness :: Number -> Filter
- contrast :: Size Percentage -> Filter
- dropShadow :: Size LengthUnit -> Size LengthUnit -> Size LengthUnit -> Color -> Filter
- grayscale :: Size Percentage -> Filter
- hueRotate :: Angle a -> Filter
- invert :: Size Percentage -> Filter
- opacity :: Size Percentage -> Filter
- saturate :: Size Percentage -> Filter
- sepia :: Size Percentage -> Filter

# Filter property.

data Filter #

#### Instances

Instances details

Inherit Filter # |
Instance details Defined in Clay.Filter Methods inherit :: Filter #
None Filter # |
Instance details Defined in Clay.Filter Methods none :: Filter #
Val Filter # |
Instance details Defined in Clay.Filter Methods value :: Filter -> Value #

filter :: Filter -> Css #

filters :: [Filter] -> Css #

# Specific filter functions.

url :: Text -> Filter #

blur :: Size LengthUnit -> Filter #

brightness :: Number -> Filter #

contrast :: Size Percentage -> Filter #

dropShadow :: Size LengthUnit -> Size LengthUnit -> Size LengthUnit -> Color -> Filter #

grayscale :: Size Percentage -> Filter #

hueRotate :: Angle a -> Filter #

invert :: Size Percentage -> Filter #

opacity :: Size Percentage -> Filter #

saturate :: Size Percentage -> Filter #

sepia :: Size Percentage -> Filter #