package cow

  1. Overview
  2. Docs
type elt =
  1. | Str of string
  2. | Fun of string * expr list
and expr = elt list
type prop_decl =
  1. | Prop of string * expr list
  2. | Decl of expr list * prop_decl list
type gradient_type = [
  1. | `Linear
  2. | `Radial
]
type t =
  1. | Props of prop_decl list
  2. | Exprs of expr list
val to_string : t -> string
val of_string : string -> t
val expr : t -> expr
val exprs : t -> expr list
val props : t -> prop_decl list
val string : t -> string
val unroll : t -> t
val set_prop : t -> string -> string list -> t
val get_prop : t -> string -> string list
val polygradient : gradient_type -> ?behaviour:t -> ?low:t -> ?high:t -> unit -> t
val gradient : ?low:t -> ?high:t -> unit -> t
val top_rounded : ?radius:t -> unit -> t
val bottom_rounded : ?radius:t -> unit -> t
val rounded : ?radius:t -> unit -> t
val box_shadow : ?h:t -> ?v:t -> ?blur:t -> ?color:t -> unit -> t
val text_shadow : ?h:t -> ?v:t -> ?blur:t -> ?color:t -> unit -> t
val no_padding : t
val reset_padding : t
OCaml

Innovation. Community. Security.