package styled-ppx
Type-safe styled components for ReScript and Melange
Install
Dune Dependency
Authors
Maintainers
Sources
styled-ppx-0.56.0.tbz
sha256=f93a08d11849c6010fc3e1c5650d811a14dc60d1f2ea74edb6e2514f12d9f35f
sha512=ad90141c288c368ee60455380706deacc41daffb412e9716c28eadc7aff0360110ca0b953a71b4c58eb6ad33c4dafbc066a9002cc0b17a2fd2dd8a5714f7c668
doc/styled-ppx.css_native/Css_Legacy_Core/Converter/index.html
Module Css_Legacy_Core.Converter
Source
Source
val string_of_stops :
(Css_AtomicTypes.Color.t * Css_AtomicTypes.Length.t) Belt.List.t ->
string
Source
val string_of_content :
[< `attr of string
| `closeQuote
| `conicGradient of
Css_AtomicTypes.Gradient.direction option
* Css_AtomicTypes.Gradient.color_stop_list
| `counter of string * Css_AtomicTypes.Counter.style
| `counters of string * string * Css_AtomicTypes.Counters.style
| `inherit_
| `initial
| `linearGradient of
Css_AtomicTypes.Gradient.direction option
* Css_AtomicTypes.Gradient.color_stop_list
| `noCloseQuote
| `noOpenQuote
| `none
| `normal
| `openQuote
| `radialGradient of
Css_AtomicTypes.Gradient.shape option
* Css_AtomicTypes.Gradient.radial_size option
* Css_AtomicTypes.Position.t option
* Css_AtomicTypes.Gradient.color_stop_list
| `repeatingLinearGradient of
Css_AtomicTypes.Gradient.direction option
* Css_AtomicTypes.Gradient.color_stop_list
| `repeatingRadialGradient of
Css_AtomicTypes.Gradient.shape option
* Css_AtomicTypes.Gradient.radial_size option
* Css_AtomicTypes.Position.t option
* Css_AtomicTypes.Gradient.color_stop_list
| `revert
| `revertLayer
| `text of string
| `unset
| `url of string
| `var of string
| `varDefault of string * string ] ->
string
Source
val string_of_counter_increment :
[< `increment of string * int
| `inherit_
| `initial
| `none
| `revert
| `revertLayer
| `unset
| `var of string
| `varDefault of string * string ] ->
string
Source
val string_of_counter_reset :
[< `inherit_
| `initial
| `none
| `reset of string * int
| `revert
| `revertLayer
| `unset
| `var of string
| `varDefault of string * string ] ->
string
Source
val string_of_counter_set :
[< `inherit_
| `initial
| `none
| `revert
| `revertLayer
| `set of string * int
| `unset
| `var of string
| `varDefault of string * string ] ->
string
Source
val string_of_column_gap :
[< `calc of
[ `add of
Css_AtomicTypes.Length.calc_value
* Css_AtomicTypes.Length.calc_value
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `mm of float
| `mult of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `sub of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `inherit_
| `initial
| `max of Css_AtomicTypes.Length.t array
| `min of Css_AtomicTypes.Length.t array
| `mm of float
| `normal
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `revert
| `revertLayer
| `unset
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ->
string
Source
val string_of_row_gap :
[< `calc of
[ `add of
Css_AtomicTypes.Length.calc_value
* Css_AtomicTypes.Length.calc_value
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `mm of float
| `mult of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `sub of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `inherit_
| `initial
| `max of Css_AtomicTypes.Length.t array
| `min of Css_AtomicTypes.Length.t array
| `mm of float
| `normal
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `revert
| `revertLayer
| `unset
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ->
string
Source
val string_of_gap :
[< `calc of
[ `add of
Css_AtomicTypes.Length.calc_value
* Css_AtomicTypes.Length.calc_value
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `mm of float
| `mult of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `sub of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `inherit_
| `initial
| `max of Css_AtomicTypes.Length.t array
| `min of Css_AtomicTypes.Length.t array
| `mm of float
| `normal
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `revert
| `revertLayer
| `unset
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ->
string
Source
val string_of_position :
[< `auto
| `calc of
[ `add of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `mm of float
| `mult of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `sub of
Css_AtomicTypes.Length.calc_value * Css_AtomicTypes.Length.calc_value
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ]
| `ch of float
| `cm of float
| `em of float
| `ex of float
| `inch of float
| `inherit_
| `initial
| `max of Css_AtomicTypes.Length.t array
| `min of Css_AtomicTypes.Length.t array
| `mm of float
| `pc of float
| `percent of float
| `pt of int
| `px of int
| `pxFloat of float
| `rem of float
| `revert
| `revertLayer
| `unset
| `var of string
| `varDefault of string * string
| `vh of float
| `vmax of float
| `vmin of float
| `vw of float
| `zero ] ->
string
Source
val string_of_color :
[< `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 string
| `varDefault of string * string ] ->
string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>