This module provides standard styling for Cell.ts. Values can be passed directly to Cell.create's ?style arg.
Cell.t
Cell.create
?style
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.
compact_num
to_float
compact_float
compact_int
val compact_float : theme:theme ‑> float t
val compact_int : theme:theme ‑> int t