package grace

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type style = [ `None | `Bold | `Faint | `Italic | `Underline | `Reverse | `Fg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | `Bg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | Grace_ansi_renderer__.Import.Fmt.color ] list
val not_color : [ `None | `Bold | `Faint | `Italic | `Underline | `Reverse | `Fg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | `Bg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | Grace_ansi_renderer__.Import.Fmt.color ] -> bool
val no_color_style : [ `None | `Bold | `Faint | `Italic | `Underline | `Reverse | `Fg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | `Bg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | Grace_ansi_renderer__.Import.Fmt.color ] list -> [ `None | `Bold | `Faint | `Italic | `Underline | `Reverse | `Fg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | `Bg of [ Grace_ansi_renderer__.Import.Fmt.color | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] ] | Grace_ansi_renderer__.Import.Fmt.color ] list
type t = {
  1. header_bug : style;
  2. header_error : style;
  3. header_warning : style;
  4. header_note : style;
  5. header_help : style;
  6. header_message : style;
  7. primary_label_bug : style;
  8. primary_label_error : style;
  9. primary_label_warning : style;
  10. primary_label_note : style;
  11. primary_label_help : style;
  12. secondary_label : style;
  13. line_number : style;
  14. source_border : style;
  15. note_bullet : style;
}
val map : t -> f:(style -> style) -> t
val no_color : t -> t
val default : t
OCaml

Innovation. Community. Security.