File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ const entriesFromObject = <T extends object>(obj: T): Entries<T> =>
13
13
export type FlavorName = "latte" | "frappe" | "macchiato" | "mocha" ;
14
14
15
15
/**
16
- * All color names of Catppuccin
16
+ * Accent colors of Catppuccin.
17
17
*/
18
- export type ColorName =
18
+ export type AccentNames =
19
19
| "rosewater"
20
20
| "flamingo"
21
21
| "pink"
@@ -29,7 +29,13 @@ export type ColorName =
29
29
| "sky"
30
30
| "sapphire"
31
31
| "blue"
32
- | "lavender"
32
+ | "lavender" ;
33
+
34
+ /**
35
+ * Monochromatic colors of Catppuccin,
36
+ * from `text` to `crust`
37
+ */
38
+ export type MonochromaticNames =
33
39
| "text"
34
40
| "subtext1"
35
41
| "subtext0"
@@ -43,6 +49,11 @@ export type ColorName =
43
49
| "mantle"
44
50
| "crust" ;
45
51
52
+ /**
53
+ * All color names of Catppuccin
54
+ */
55
+ export type ColorName = AccentNames | MonochromaticNames ;
56
+
46
57
/**
47
58
* Generic to map type T to all Catppuccin color names
48
59
*/
You can’t perform that action at this time.
0 commit comments