Skip to content

Commit

Permalink
fix: fix color value not showing picker on hsla value
Browse files Browse the repository at this point in the history
  • Loading branch information
jeslage committed Sep 18, 2023
1 parent 27bec27 commit eb288fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const is = {
v.startsWith("rgb(") ||
v.startsWith("rgba(") ||
v.startsWith("hsl(") ||
v.startsWith("hsla(") ||
defaultCssColors.includes(v.toLowerCase()) ||
l.toLowerCase().includes("color")),

Expand Down

0 comments on commit eb288fc

Please sign in to comment.