package tiny_languages

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Css_valuesSource

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