From eb288fc63b075374e21c99f9d27971d080c23f82 Mon Sep 17 00:00:00 2001 From: Johannes Eslage Date: Mon, 18 Sep 2023 14:50:14 +0200 Subject: [PATCH] fix: fix color value not showing picker on hsla value --- src/lib/misc.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/misc.ts b/src/lib/misc.ts index 97c0e83..8b76c63 100644 --- a/src/lib/misc.ts +++ b/src/lib/misc.ts @@ -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")),