From 6e9ae88d08998ef6a5fb67d1a2eb401e7b76677f Mon Sep 17 00:00:00 2001 From: Conner Blanton Date: Sat, 18 Nov 2023 09:58:33 -0600 Subject: [PATCH] add missing chip safelist --- src/colors.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/colors.ts b/src/colors.ts index 2e853d5615..b866d24ba8 100644 --- a/src/colors.ts +++ b/src/colors.ts @@ -198,6 +198,12 @@ const safelistByComponent = { variants: ['dark'] }, { pattern: new RegExp(`text-(${colorsAsRegex})-500`) + }], + chip: (colorsAsRegex) => [{ + pattern: new RegExp(`bg-(${colorsAsRegex})-400`), + variants: ['dark'] + }, { + pattern: new RegExp(`bg-(${colorsAsRegex})-500`) }] }