Skip to content

Commit

Permalink
fix: add .*ClassName to tailwindCSS.classAttributes in project vs…
Browse files Browse the repository at this point in the history
…code settings (#1039)
  • Loading branch information
alecdwm authored Aug 26, 2023
1 parent 2439876 commit 8400e1b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"githubPullRequests.ignoredPullRequestBranches": ["dev"],

// shows tailwind intellisense for attributes like `contentClassName`, `innerClassName`, `bodyClassName`, etc
"tailwindCSS.classAttributes": [
"class", // default value
"className", // default value
"ngClass", // default value
".*ClassName" // NEW value (added by us)
],

// defaults to 1rem=16px, but we use 1rem=10px in the extension
// this setting will provide accurate intellisense values
"tailwindCSS.rootFontSize": 10,
"githubPullRequests.ignoredPullRequestBranches": [
"dev"
]
"tailwindCSS.rootFontSize": 10
}

0 comments on commit 8400e1b

Please sign in to comment.