package styled-ppx

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a value = string
type box
type text
type 'a t = [
  1. | `shadow of 'a value
  2. | `none
]
val box : ?x: [< `calc of [< `add of [< `calc of 'b | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'a Belt.Array.t | `min of 'a Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'c * 'c | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'a Belt.Array.t | `min of 'a Belt.Array.t | `mm of Js.Float.t | `mult of 'c * 'c | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'c * 'c | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'b | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'a Belt.Array.t | `min of 'a Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'a -> ?y: [< `calc of [< `add of [< `calc of 'e | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'd Belt.Array.t | `min of 'd Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'f * 'f | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'd Belt.Array.t | `min of 'd Belt.Array.t | `mm of Js.Float.t | `mult of 'f * 'f | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'f * 'f | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'e | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'd Belt.Array.t | `min of 'd Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'd -> ?blur: [< `calc of [< `add of [< `calc of 'h | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'g Belt.Array.t | `min of 'g Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'i * 'i | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'g Belt.Array.t | `min of 'g Belt.Array.t | `mm of Js.Float.t | `mult of 'i * 'i | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'i * 'i | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'h | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'g Belt.Array.t | `min of 'g Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'g -> ?spread: [< `calc of [< `add of [< `calc of 'k | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'j Belt.Array.t | `min of 'j Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'l * 'l | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'j Belt.Array.t | `min of 'j Belt.Array.t | `mm of Js.Float.t | `mult of 'l * 'l | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'l * 'l | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'k | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'j Belt.Array.t | `min of 'j Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'j -> ?inset:bool -> [< `colorMix of Css_AtomicTypes.Color.t Css_AtomicTypes.Color.colorMix | `currentColor | `hex of string | `hsl of Css_AtomicTypes.Color.hsl | `hsla of Css_AtomicTypes.Color.hsla | `rgb of Css_AtomicTypes.Color.rgb | `rgba of Css_AtomicTypes.Color.rgba | `transparent | `var of Js.String.t | `varDefault of Js.String.t * string ] -> [> `shadow of string ]
val text : ?x: [< `calc of [< `add of [< `calc of 'b | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'a Belt.Array.t | `min of 'a Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'c * 'c | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'a Belt.Array.t | `min of 'a Belt.Array.t | `mm of Js.Float.t | `mult of 'c * 'c | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'c * 'c | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'b | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'a Belt.Array.t | `min of 'a Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'a -> ?y: [< `calc of [< `add of [< `calc of 'e | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'd Belt.Array.t | `min of 'd Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'f * 'f | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'd Belt.Array.t | `min of 'd Belt.Array.t | `mm of Js.Float.t | `mult of 'f * 'f | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'f * 'f | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'e | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'd Belt.Array.t | `min of 'd Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'd -> ?blur: [< `calc of [< `add of [< `calc of 'h | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'g Belt.Array.t | `min of 'g Belt.Array.t | `mm of Js.Float.t | `num of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'i * 'i | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'g Belt.Array.t | `min of 'g Belt.Array.t | `mm of Js.Float.t | `mult of 'i * 'i | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `sub of 'i * 'i | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ] as 'h | `ch of Js.Float.t | `cm of Js.Float.t | `em of Js.Float.t | `ex of Js.Float.t | `inch of Js.Float.t | `max of 'g Belt.Array.t | `min of 'g Belt.Array.t | `mm of Js.Float.t | `pc of Js.Float.t | `percent of Js.Float.t | `pt of Js.Int.t | `px of Js.Int.t | `pxFloat of Js.Float.t | `rem of Js.Float.t | `vh of Js.Float.t | `vmax of Js.Float.t | `vmin of Js.Float.t | `vw of Js.Float.t | `zero ch cm em ex inch mm pc percent pt px pxFloat rem vh vmax vmin vw zero ] as 'g -> [< `colorMix of Css_AtomicTypes.Color.t Css_AtomicTypes.Color.colorMix | `currentColor | `hex of string | `hsl of Css_AtomicTypes.Color.hsl | `hsla of Css_AtomicTypes.Color.hsla | `rgb of Css_AtomicTypes.Color.rgb | `rgba of Css_AtomicTypes.Color.rgba | `transparent | `var of Js.String.t | `varDefault of Js.String.t * string ] -> [> `shadow of string ]
val toString : 'a t -> string
OCaml

Innovation. Community. Security.