Module Incr_dom_widgets__Mesa_cell.Style

This module provides standard styling for Cell.ts. Values can be passed directly to Cell.create's ?style arg.

type 'a t = 'a ‑> Incr_dom_widgets.Css.t
val concat : 'a t list ‑> 'a t
val bool : bool t
type theme = [
| `Light
| `Dark
]
val compact_num : theme:theme ‑> ('a ‑> float) ‑> 'a t

compact_num provides the standard compact number coloring given a to_float function. compact_float and compact_int are provided as a convenience.

val compact_float : theme:theme ‑> float t
val compact_int : theme:theme ‑> int t