We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0296221 commit c9086ebCopy full SHA for c9086eb
packages/tailwindcss-language-service/src/util/color.ts
@@ -196,10 +196,12 @@ let isMaskUtility = /^-?mask-/
196
197
function isLikelyColorless(className: string) {
198
if (isNegative.test(className)) return true
199
+ if (isNumericUtility.test(className)) return true
200
+
201
// TODO: This is **not** correct but is intentional because there are 5k mask utilities and a LOT of them are colors
202
// This causes a massive slowdown when building the design system
203
if (isMaskUtility.test(className)) return true
- if (isNumericUtility.test(className)) return true
204
205
return false
206
}
207
0 commit comments