Skip to content

Commit a984a10

Browse files
committed
Fix build
1 parent b74667e commit a984a10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/css_to_ts/colorOptions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ export const parseColorOptions = memoize((rawCssCode: string): ColorOption[] =>
347347

348348
return declarations
349349
.filter(({ value }: any) => cssColorRegexp.test(value))
350+
.filter(({ property }: any) => /-[0-9]+/.test(property))
350351
.map(({ property }: any) => {
351352
const cssVariableValue = getCssVariable(property);
352353

0 commit comments

Comments
 (0)