package incr_dom_widgets

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

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

type 'a t = 'a -> Css.t
val concat : 'a t list -> 'a t
val bool : bool t
type theme = [
  1. | `Light
  2. | `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