Skip to content

Commit

Permalink
fix(types): use singular for color name types (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored Jan 2, 2024
1 parent 6ce9a87 commit 7c73188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type FlavorName = "latte" | "frappe" | "macchiato" | "mocha";
/**
* Accent colors of Catppuccin.
*/
export type AccentNames =
export type AccentName =
| "rosewater"
| "flamingo"
| "pink"
Expand All @@ -35,7 +35,7 @@ export type AccentNames =
* Monochromatic colors of Catppuccin,
* from `text` to `crust`
*/
export type MonochromaticNames =
export type MonochromaticName =
| "text"
| "subtext1"
| "subtext0"
Expand All @@ -52,7 +52,7 @@ export type MonochromaticNames =
/**
* All color names of Catppuccin
*/
export type ColorName = AccentNames | MonochromaticNames;
export type ColorName = AccentName | MonochromaticName;

/**
* Generic to map type T to all Catppuccin color names
Expand Down

0 comments on commit 7c73188

Please sign in to comment.