Module Css_Media.Range

type resolution = [
| `resolution of Css_Unit.Resolution.t
]
type width = [
| `width of Css_Unit.Length.t
]
type height = [
| `height of Css_Unit.Length.t
]
type aspect_ratio = [
| `aspect_ratio of int * int
]
type color = [
| `color of int
]
type color_index = [
| `color_index of int
]
type monochrome = [
| `monochrome of int
]
type device_width = [
| `device_width of Css_Unit.Length.t
]
type device_height = [
| `device_height of Css_Unit.Length.t
]
include sig ... end
type min_max = [
| `min
| `max
]
include sig ... end
val min_maxToJs : min_max -> string
val min_maxFromJs : string -> min_max option
include sig ... end
type compare = [
| `eq
| `lt
| `le
| `gt
| `ge
| `none
]
include sig ... end
val compareToJs : compare -> string
val compareFromJs : string -> compare option
type range = [
| width
| height
| aspect_ratio
| resolution
| color
| color_index
| monochrome
| device_width
| device_height
]
type t = [
| `range of min_max option * compare * range
]
val make : ?⁠m:min_max -> ?⁠c:compare -> range -> t
val show : t -> string