Skip to content

Commit

Permalink
icon colors
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 15, 2023
1 parent e09bf2c commit 7b562b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/colors.js
Expand Up @@ -8,7 +8,8 @@ const bgVars = [
/var\(--color-[^)]+\)/,
/var\((.+-)*bgColor(-.+)*\)/,
/var\((.+-)*fgColor(-.+)*\)/,
/var\((.+-)*borderColor(-.+)*\)/
/var\((.+-)*borderColor(-.+)*\)/,
/var\((.+-)*iconColor(-.+)*\)/
]

module.exports = createVariableRule(
Expand All @@ -33,7 +34,8 @@ module.exports = createVariableRule(
/var\(--color-(.+-)*text(-.+)*\)/,
/var\(--color-(.+-)*fg(-.+)*\)/,
/var\(--color-[^)]+\)/,
/var\((.+-)*fgColor(-.+)*\)/
/var\((.+-)*fgColor(-.+)*\)/,
/var\((.+-)*iconColor(-.+)*\)/
]
}
},
Expand Down

0 comments on commit 7b562b2

Please sign in to comment.