From 7541d00836392ae502fd8fd52fcfb5a445cdea71 Mon Sep 17 00:00:00 2001 From: Grant Wong Date: Thu, 28 Nov 2024 16:49:20 +1100 Subject: [PATCH] Include color in valid CSS properties so builds pass --- packages/babel-plugin/src/utils/error-if-invalid-properties.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/babel-plugin/src/utils/error-if-invalid-properties.ts b/packages/babel-plugin/src/utils/error-if-invalid-properties.ts index 829af6b5e..962bc8ded 100644 --- a/packages/babel-plugin/src/utils/error-if-invalid-properties.ts +++ b/packages/babel-plugin/src/utils/error-if-invalid-properties.ts @@ -6,6 +6,7 @@ const CSS_PROPERTIES: string[] = [ ...Object.values(shorthandFor) .flat() .filter((value): value is string => typeof value === 'string'), + 'color', ]; export const errorIfInvalidProperties = (properties: string[]): void => {