Skip to content

Commit

Permalink
add missing chip safelist
Browse files Browse the repository at this point in the history
  • Loading branch information
connerblanton committed Nov 18, 2023
1 parent a0f8303 commit 6e9ae88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
}]
}

Expand Down

0 comments on commit 6e9ae88

Please sign in to comment.