Skip to content

Commit

Permalink
Fix types not assignable to 'ColorActionName'. (#1086)
Browse files Browse the repository at this point in the history
Fix 'lighten' and 'darken' not assignable to type 'ColorActionName'.

Co-authored-by: Andrew Lisowski <lisowski54@gmail.com>
  • Loading branch information
lucyyyyyyy and hipstersmoothie committed Feb 4, 2023
1 parent 2852982 commit 05316f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-color/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ type ColorActionName =
| "red"
| "green"
| "blue"
| "hue";
| "hue"
| "lighten"
| "darken";

type ColorAction = {
apply: ColorActionName;
Expand Down

0 comments on commit 05316f6

Please sign in to comment.