Module Css_values

type length = {
  1. px : float;
  2. pct : float;
}
type color = {
  1. r : int;
  2. g : int;
  3. b : int;
  4. a : float;
}
type context = {
  1. em : float;
  2. rem : float;
  3. viewport_width : float;
  4. viewport_height : float;
}
val resolve : length -> float -> float
val px : float -> length
val zero : length
val substitute : (string -> Css_syntax.component list option) -> Css_syntax.component list -> Css_syntax.component list option
val length : context -> Css_syntax.component -> length option
val color : current:color -> Css_syntax.component list -> color option
val black : color
val transparent : color