Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val none : t
none
is the empty styling.
val create :
?foreground:Color.t ->
?background:Color.t ->
?bold:bool ->
?dim:bool ->
?italic:bool ->
?underlined:bool ->
unit ->
t
create ?foreground ?background ?bold ?dim ?italic ?underlined ()
creates a new style object given the provided configuration.
val to_ansi : t -> string
to_ansi styling
renders the styling
to an ANSI escape sequence as a string.