Skip to content

Commit

Permalink
borders
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 15, 2023
1 parent 7cc4c08 commit fce3c41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/borders.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ module.exports = createVariableRule(
'$border-*',
'transparent',
'currentColor',
// Match variables in any of the following formats: --color-border-*, --color-*-border-*, --color-*-border
// Match variables in any of the following formats: --color-border-*, --color-*-border-*, --color-*-border, --borderColor-
/var\(--color-(.+-)*border(-.+)*\)/,
/var\(--color-[^)]+\)/
/var\(--color-[^)]+\)/,
/var\(--borderColor-[^)]+\)/
],
replacements: {
'$border-gray': '$border-color'
Expand Down

0 comments on commit fce3c41

Please sign in to comment.