package styled-ppx
Module Css_types.Gradient
type direction = [ | Angle.t| `Bottom| `BottomLeft| `BottomRight| `Left| `Right| `Top| `TopLeft| `TopRight
]type t = [ | `linearGradient of direction option * color_stop_list| `repeatingLinearGradient of direction option * color_stop_list| `radialGradient of shape option * radial_size option * Position.t option * color_stop_list| `repeatingRadialGradient of shape option * radial_size option * Position.t option * color_stop_list| `conicGradient of direction option * color_stop_list
]val linearGradient :
direction option ->
color_stop_list ->
[> `linearGradient of direction option option * color_stop_list ]val repeatingLinearGradient :
direction option ->
color_stop_list ->
[> `repeatingLinearGradient of direction option option * color_stop_list ]val radialGradient :
shape ->
radial_size ->
Position.t ->
color_stop_list ->
[> `radialGradient of
shape option * radial_size option * Position.t option * color_stop_list ]val repeatingRadialGradient :
shape ->
radial_size ->
Position.t ->
color_stop_list ->
[> `repeatingRadialGradient of
shape option * radial_size option * Position.t option * color_stop_list ]val conicGradient :
direction option ->
color_stop_list ->
[> `conicGradient of direction option option * color_stop_list ]val maybe_string_of_position :
[< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `hv of
[< `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `hvOffset of
[< `center | `left | `right ]
* Length.t
* [< `bottom | `center | `top ]
* Length.t
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
option ->
stringval string_of_radialGradient :
([< `circle | `ellipse ] option
* [< `closestCorner | `closestSide | `farthestCorner | `farthestSide ]
option
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `hv of
[< `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `hvOffset of
[< `center | `left | `right ]
* Length.t
* [< `bottom | `center | `top ]
* Length.t
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
option
* (Color.t option * Length.t option) array) ->
stringval string_of_repeatingRadialGradients :
([< `circle | `ellipse ] option
* [< `closestCorner | `closestSide | `farthestCorner | `farthestSide ]
option
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `hv of
[< `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `hvOffset of
[< `center | `left | `right ]
* Length.t
* [< `bottom | `center | `top ]
* Length.t
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
option
* (Color.t option * Length.t option) array) ->
stringval toString :
[< `conicGradient of
[< `Bottom
| `BottomLeft
| `BottomRight
| `Left
| `Right
| `Top
| `TopLeft
| `TopRight
| `deg of float
| `grad of float
| `rad of float
| `turn of float ]
option
* (Color.t option * Length.t option) array
| `linearGradient of
[< `Bottom
| `BottomLeft
| `BottomRight
| `Left
| `Right
| `Top
| `TopLeft
| `TopRight
| `deg of float
| `grad of float
| `rad of float
| `turn of float ]
option
* (Color.t option * Length.t option) array
| `radialGradient of
[< `circle | `ellipse ] option
* [< `closestCorner | `closestSide | `farthestCorner | `farthestSide ]
option
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `hv of
[< `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `hvOffset of
[< `center | `left | `right ]
* Length.t
* [< `bottom | `center | `top ]
* Length.t
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
option
* (Color.t option * Length.t option) array
| `repeatingLinearGradient of
[< `Bottom
| `BottomLeft
| `BottomRight
| `Left
| `Right
| `Top
| `TopLeft
| `TopRight
| `deg of float
| `grad of float
| `rad of float
| `turn of float ]
option
* (Color.t option * Length.t option) array
| `repeatingRadialGradient of
[< `circle | `ellipse ] option
* [< `closestCorner | `closestSide | `farthestCorner | `farthestSide ]
option
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `hv of
[< `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
* [< `bottom
| `calc of Length.calc_value
| `center
| `ch of float
| `cm of float
| `cqb of float
| `cqh of float
| `cqi of float
| `cqmax of float
| `cqmin of float
| `cqw of float
| `em of float
| `ex of float
| `inch of float
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `hvOffset of
[< `center | `left | `right ]
* Length.t
* [< `bottom | `center | `top ]
* Length.t
| `inch of float
| `left
| `max of Length.t array
| `min of Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `right
| `top
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
option
* (Color.t option * Length.t option) array ] ->
string