package grace

  1. Overview
  2. Docs
type style = [ `Bg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Black | `Blue | `Bold | `Cyan | `Faint | `Fg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Green | `Italic | `Magenta | `None | `Red | `Reverse | `Underline | `White | `Yellow ] list
val not_color : [ `Bg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Black | `Blue | `Bold | `Cyan | `Faint | `Fg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Green | `Italic | `Magenta | `None | `Red | `Reverse | `Underline | `White | `Yellow ] -> bool
val no_color_style : [ `Bg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Black | `Blue | `Bold | `Cyan | `Faint | `Fg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Green | `Italic | `Magenta | `None | `Red | `Reverse | `Underline | `White | `Yellow ] list -> [ `Bg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Black | `Blue | `Bold | `Cyan | `Faint | `Fg of [ `Black | `Blue | `Cyan | `Green | `Hi of [ `Black | `Blue | `Cyan | `Green | `Magenta | `Red | `White | `Yellow ] | `Magenta | `Red | `White | `Yellow ] | `Green | `Italic | `Magenta | `None | `Red | `Reverse | `Underline | `White | `Yellow ] 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.