Skip to content

Commit

Permalink
shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 15, 2023
1 parent fce3c41 commit f5794f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/box-shadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ module.exports = createVariableRule(
'$box-shadow*',
'$*-shadow',
'none',
// Match variables in any of the following formats: --color-shadow-*, --color-*-shadow-*, --color-*-shadow
/var\(--color-(.+-)*shadow(-.+)*\)/
// Match variables in any of the following formats: --color-shadow-*, --color-*-shadow-*, --color-*-shadow, --shadow-*
/var\(--color-(.+-)*shadow(-.+)*\)/,
/var\(--shadow(-.+)*\)/
],
singular: true
}
Expand Down

0 comments on commit f5794f4

Please sign in to comment.