Module Private.Font

Font helpers.

val css_font : unit:string -> font -> string

css_font unit font is a CSS font property for the font with size expressed in unit.

val css_weight : font -> string

css_weight font is font's weigth as CSS font-weight value.

val css_slant : font -> string

css_slant font is font's slant as a CSS font-style value.