Skip to content

Commit

Permalink
color
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 15, 2023
1 parent 60b099d commit f6888d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ const bgVars = [
'$tooltip-background-color',
// Match variables in any of the following formats: --color-bg-*, --color-*-bg-*, --color-*-bg
/var\(--color-(.+-)*bg(-.+)*\)/,
/var\(--color-[^)]+\)/
/var\(--color-[^)]+\)/,
/var\((.+-)*bgColor(-.+)*\)/,
/var\((.+-)*fgColor(-.+)*\)/,
/var\((.+-)*borderColor(-.+)*\)/
]

module.exports = createVariableRule(
Expand Down

0 comments on commit f6888d5

Please sign in to comment.