Skip to content

Commit 9e14f9e

Browse files
authored
Merge pull request #14 from schneedotdev/brian/upgrade-tailwindcss
Upgrade tailwind@3.4.19 to tailwind@4.3.0
2 parents 433dfb2 + 57744fb commit 9e14f9e

5 files changed

Lines changed: 366 additions & 279 deletions

File tree

‎app/globals.css‎

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
2+
@config "../tailwind.config.js";
3+
@plugin "@tailwindcss/typography";
4+
5+
@theme inline {
6+
--color-background-opaque: var(--background-opaque);
7+
--color-background: var(--background);
8+
--color-primary: var(--primary);
9+
--color-secondary: var(--secondary);
10+
--color-tertiary: var(--tertiary);
11+
--color-accent: var(--accent);
12+
}
413

514
:root {
615
/* Theme */
@@ -12,43 +21,43 @@
1221
--accent: hsl(160, 84%, 39%);
1322

1423
/* Technologies */
15-
--astro: theme(colors.orange.300);
24+
--astro: #fdba74;
1625
--bg-astro: #c2410c26;
17-
--cloudinary: theme(colors.indigo.300);
26+
--cloudinary: #a5b4fc;
1827
--bg-cloudinary: #4338ca26;
19-
--css: theme(colors.cyan.300);
28+
--css: #67e8f9;
2029
--bg-css: #0e749026;
21-
--ejs: theme(colors.lime.300);
30+
--ejs: #bef264;
2231
--bg-ejs: #4d7c0f26;
23-
--express: theme(colors.slate.300);
32+
--express: #cbd5e1;
2433
--bg-express: #33415526;
25-
--javascript: theme(colors.yellow.300);
34+
--javascript: #fde047;
2635
--bg-javascript: #a1620726;
27-
--mdx: theme(colors.amber.300);
36+
--mdx: #fcd34d;
2837
--bg-mdx: #fcd34d26;
29-
--mongodb: theme(colors.green.300);
38+
--mongodb: #86efac;
3039
--bg-mongodb: #15803d26;
31-
--mongoose: theme(colors.red.300);
40+
--mongoose: #fca5a5;
3241
--bg-mongoose: #b91c1c26;
33-
--netlify: theme(colors.teal.300);
42+
--netlify: #5eead4;
3443
--bg-netlify: #0f766e26;
35-
--nextjs: theme(colors.neutral.300);
44+
--nextjs: #d4d4d4;
3645
--bg-nextjs: #a3a3a326;
37-
--passport: theme(colors.emerald.300);
46+
--passport: #6ee7b7;
3847
--bg-passport: #6ee7b726;
39-
--node: theme(colors.green.300);
48+
--node: #86efac;
4049
--bg-node: #15803d26;
41-
--preact: theme(colors.purple.300);
50+
--preact: #d8b4fe;
4251
--bg-preact: #7e22ce26;
43-
--railway: theme(colors.slate.300);
52+
--railway: #cbd5e1;
4453
--bg-railway: #33415526;
45-
--react: theme(colors.teal.300);
54+
--react: #5eead4;
4655
--bg-react: #0f766e26;
47-
--tailwind: theme(colors.cyan.300);
56+
--tailwind: #67e8f9;
4857
--bg-tailwind: #0e749026;
49-
--typescript: theme(colors.blue.300);
58+
--typescript: #93c5fd;
5059
--bg-typescript: #1d4ed826;
51-
--vercel: theme(colors.gray.300);
60+
--vercel: #d1d5db;
5261
--bg-vercel: #37415126;
5362

5463
scroll-behavior: smooth;

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"lint": "eslint ."
1313
},
1414
"dependencies": {
15+
"@tailwindcss/postcss": "^4.3.0",
1516
"@types/node": "25.9.2",
1617
"@types/react": "19.2.17",
1718
"@types/react-dom": "19.2.3",
18-
"autoprefixer": "10.5.0",
1919
"clsx": "2.1.1",
2020
"eslint-config-next": "16.2.7",
2121
"gray-matter": "^4.0.3",
@@ -32,7 +32,7 @@
3232
"remark-gfm": "^4.0.1",
3333
"shiki": "^4.2.0",
3434
"tailwind-merge": "3.6.0",
35-
"tailwindcss": "3.4.19",
35+
"tailwindcss": "4.3.0",
3636
"typescript": "6.0.3"
3737
},
3838
"devDependencies": {

0 commit comments

Comments
 (0)