Skip to content

Commit

Permalink
text color
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 15, 2023
1 parent f6888d5 commit e09bf2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ module.exports = createVariableRule(
// Match variables in any of the following formats: --color-text-*, --color-*-text-*, --color-*-text
/var\(--color-(.+-)*text(-.+)*\)/,
/var\(--color-(.+-)*fg(-.+)*\)/,
/var\(--color-[^)]+\)/
/var\(--color-[^)]+\)/,
/var\((.+-)*fgColor(-.+)*\)/
]
}
},
Expand Down

0 comments on commit e09bf2c

Please sign in to comment.