Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Oct 26, 2022
1 parent b74667e commit a984a10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/css_to_ts/colorOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ export const parseColorOptions = memoize((rawCssCode: string): ColorOption[] =>

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

Expand Down

0 comments on commit a984a10

Please sign in to comment.