@mrts/colorsets 0.3.19 → 0.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,13 +1,16 @@
1
1
  //#region src/types.d.ts
2
+ type ParsedColor = {
3
+ space: string;
4
+ values: number[];
5
+ alpha: number;
6
+ };
2
7
  type ColorData = {
3
8
  name: string;
4
9
  set: string;
5
10
  value: string;
6
- parsed: {
7
- space: string;
8
- values: number[];
9
- alpha: number;
10
- };
11
+ parsed: ParsedColor;
12
+ hex: string;
13
+ delta: number;
11
14
  };
12
15
  //#endregion
13
16
  //#region src/data/tw4.d.ts
@@ -16,4 +19,4 @@ declare const tw4Colors: Record<string, ColorData>;
16
19
  //#region src/data/cssNamed.d.ts
17
20
  declare const cssNamedColors: Record<string, ColorData>;
18
21
  //#endregion
19
- export { cssNamedColors, tw4Colors };
22
+ export { ColorData, ParsedColor, cssNamedColors, tw4Colors };