package styled-ppx

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Css_types.Filter

type t = [
  1. | None.t
  2. | `blur of Length.t
  3. | `brightness of [ Percentage.t | `num of float ]
  4. | `contrast of [ Percentage.t | `num of float ]
  5. | `dropShadow of Length.t * Length.t * Length.t * [ Color.t | Var.t ]
  6. | `grayscale of [ Percentage.t | `num of float ]
  7. | `hueRotate of Angle.t
  8. | `invert of [ Percentage.t | `num of float ]
  9. | `opacity of [ Percentage.t | `num of float ]
  10. | `saturate of [ Percentage.t | `num of float ]
  11. | `sepia of [ Percentage.t | `num of float ]
  12. | Url.t
  13. | Var.t
  14. | Cascading.t
]
val string_of_amount : [< `num of float | `percent of float ] -> string
val toString : [< `blur of Length.t | `brightness of [< `num of float | `percent of float ] | `contrast of [< `num of float | `percent of float ] | `dropShadow of Length.t * Length.t * Length.t * Color.t | `grayscale of [< `num of float | `percent of float ] | `hueRotate of [< `deg of float | `grad of float | `rad of float | `turn of float ] | `inherit_ | `initial | `invert of [< `num of float | `percent of float ] | `none | `opacity of [< `num of float | `percent of float ] | `revert | `revertLayer | `saturate of [< `num of float | `percent of float ] | `sepia of [< `num of float | `percent of float ] | `unset | `url of string | `var of string | `varDefault of string * string ] -> string