package spectrum_palette_ppx

  1. Overview
  2. Docs

Module Private.LoaderSource

Sourcetype t = {
  1. name : string;
  2. code : int;
  3. r : int;
  4. g : int;
  5. b : int;
}
Sourceval color_of_def : t -> Color.gg
Sourceval e_invalid : exn
Sourceval int_of_yojson : [> `Int of 'a ] -> 'a
Sourceval str_of_yojson : [> `String of 'a ] -> 'a
Sourceval rgb_tuple_of_yojson : [> `Assoc of (string * [> `Int of 'a ]) list ] -> 'a * 'a * 'a
Sourceval ansi_color_of_yojson : [> `Assoc of (string * [> `Assoc of (string * [> `Int of int ]) list | `Int of int | `String of string ]) list ] -> t
Sourceval load : string -> t list
Sourceval load_assoc : string -> (int * t) list