Skip to content

Commit

Permalink
🧑‍💻 Set the color scheme type based on the mode type
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Aug 4, 2024
1 parent f28426a commit 91ac8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/colorwind/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export type Mode = Modes[number];
export type Colors = typeof colors;
export type ColorName = keyof Colors;
export type ColorValue = Colors[ColorName];
export type ColorScheme = { light: string; dark: string };
export type ColorScheme = { [key in Mode]: string };
export type Utilities = typeof utilities;
export type UtilityName = keyof Utilities;
export type UtilityValue = Utilities[UtilityName];
Expand Down

0 comments on commit 91ac8c3

Please sign in to comment.