Skip to content

Commit d7ec35e

Browse files
Update to Tailwind 4.0.5
RIP CSS variables tree-shaking, this site will never benefit you
1 parent 6bf92a5 commit d7ec35e

File tree

3 files changed

+89
-84
lines changed

3 files changed

+89
-84
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"@sveltejs/kit": "^2.17.1",
2525
"@sveltejs/vite-plugin-svelte": "^5.0.3",
2626
"@tailwindcss/typography": "^0.5.16",
27-
"@tailwindcss/vite": "^4.0.4",
27+
"@tailwindcss/vite": "^4.0.5",
2828
"@total-typescript/ts-reset": "^0.6.1",
2929
"@types/eslint-config-prettier": "^6.11.3",
3030
"@types/semver": "^7.5.8",
3131
"@vercel/speed-insights": "^1.1.0",
3232
"arctic": "^3.2.4",
33-
"bits-ui": "1.0.0-next.89",
33+
"bits-ui": "1.0.0-next.90",
3434
"clsx": "^2.1.1",
3535
"eslint": "^9.20.0",
3636
"eslint-config-prettier": "^10.0.1",
@@ -54,7 +54,7 @@
5454
"sveltekit-search-params": "^3.0.0",
5555
"tailwind-merge": "^3.0.1",
5656
"tailwind-variants": "^0.3.1",
57-
"tailwindcss": "^4.0.4",
57+
"tailwindcss": "^4.0.5",
5858
"tailwindcss-animate": "^1.0.7",
5959
"tslib": "^2.8.1",
6060
"typescript": "^5.7.3",

pnpm-lock.yaml

Lines changed: 79 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
@import "tailwindcss";
1+
@layer theme, base, components, utilites;
2+
3+
@import "tailwindcss/theme" layer(theme) theme(static);
4+
@import "tailwindcss/preflight" layer(base);
5+
@import "tailwindcss/utilities" layer(utilities);
6+
27
@plugin "@tailwindcss/typography";
38
@plugin "tailwindcss-animate";
49

510
@variant dark (&:is(.dark *));
611

7-
@theme {
12+
@theme static {
813
--breakpoint-xs: 475px;
914
--breakpoint-2xl: 1400px;
1015

0 commit comments

Comments
 (0)