Skip to content

Commit bd70dce

Browse files
committed
fix: resolve tailwindcss postcss plugin and CSS variable issues
Signed-off-by: 诺墨 <normal@normalcoder.com>
1 parent 00b88d3 commit bd70dce

File tree

4 files changed

+445
-57
lines changed

4 files changed

+445
-57
lines changed

app/globals.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ body {
8585
}
8686

8787
@layer base {
88-
* {
89-
@apply border-border;
90-
}
9188
body {
92-
@apply bg-background text-foreground;
89+
background-color: hsl(var(--background));
90+
color: hsl(var(--foreground));
9391
}
9492
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@radix-ui/react-toggle": "^1.1.10",
4444
"@radix-ui/react-toggle-group": "^1.1.11",
4545
"@radix-ui/react-tooltip": "^1.2.8",
46+
"@tailwindcss/postcss": "^4.1.14",
4647
"autoprefixer": "^10.4.21",
4748
"class-variance-authority": "^0.7.1",
4849
"clsx": "^2.1.1",

0 commit comments

Comments
 (0)