Skip to content

Commit

Permalink
refactor(vscode): simplify tailwindCSS classRegex for theme functions
Browse files Browse the repository at this point in the history
  • Loading branch information
SutuSebastian committed Jan 18, 2025
1 parent 5bbb2c1 commit 3941193
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
"tailwindCSS.classAttributes": ["class", "className", "theme"],
"tailwindCSS.experimental.classRegex": [
["twMerge\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
[
"(?:createTheme|initTheme)(?:\\.\\w+)?(?:<\\w+>)?\\s*\\(([^)]*)\\)",
"{?\\s?[\\w].*:\\s*?[\"'`]([^\"'`]*).*?,?\\s?}?"
]
["createTheme(?:<\\w+>)?\\s*\\(([^)]*)\\)", "{?\\s?[\\w].*:\\s*?[\"'`]([^\"'`]*).*?,?\\s?}?"]
],
"tailwindCSS.experimental.configFile": {
"apps/storybook/tailwind.config.cjs": "apps/storybook/**",
Expand Down

0 comments on commit 3941193

Please sign in to comment.