package styled-ppx

  1. Overview
  2. Docs
Type-safe styled components for ReScript and Melange

Install

dune-project
 Dependency

Authors

Maintainers

Sources

styled-ppx-0.61.0.tbz
sha256=c6eba770e9e9bb9002bf3f759f99ebcec6d7b4132c6c2ad562886c88b6839bab
sha512=8a1776181f6ef292518a0b96b1fae7927cf5767dee75dc04bc05d99d297866e45a5943455bea9ce500a04a635bd179d2b2bec8bccebc55dc1e696a23b3efad69

doc/styled-ppx.native/Css_types/Background/index.html

Module Css_types.Background

type t = [
  1. | BackgroundImage.t
  2. | Color.t
]
val toString : [< `colorMix of Color.color_interpolation_method * (Color.t * Percentage.t option) * (Color.t * Percentage.t option) | `conicGradient of Gradient.direction option * Gradient.color_stop_list | `currentColor | `hex of string | `hsl of Color.hsl | `hsla of Color.hsla | `inherit_ | `initial | `linearGradient of Gradient.direction option * Gradient.color_stop_list | `none | `radialGradient of Gradient.shape option * Gradient.radial_size option * Position.t option * Gradient.color_stop_list | `repeatingLinearGradient of Gradient.direction option * Gradient.color_stop_list | `repeatingRadialGradient of Gradient.shape option * Gradient.radial_size option * Position.t option * Gradient.color_stop_list | `revert | `revertLayer | `rgb of Color.rgb | `rgba of Color.rgba | `transparent | `unset | `url of string | `var of string | `varDefault of string * string ] -> string