Skip to content

Commit 3167a2b

Browse files
committed
downgrade tailwindcss 3
1 parent 5700141 commit 3167a2b

File tree

5 files changed

+715
-339
lines changed

5 files changed

+715
-339
lines changed

app/globals.css

Lines changed: 3 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,6 @@
1-
@import "tailwindcss";
2-
@config "../tailwind.config.ts";
3-
4-
:root {
5-
--background: 0 0% 100%;
6-
--foreground: 222.2 84% 4.9%;
7-
--card: 0 0% 100%;
8-
--card-foreground: 222.2 84% 4.9%;
9-
--popover: 0 0% 100%;
10-
--popover-foreground: 222.2 84% 4.9%;
11-
--primary: 221.2 83.2% 53.3%;
12-
--primary-foreground: 210 40% 98%;
13-
--secondary: 210 40% 96.1%;
14-
--secondary-foreground: 222.2 47.4% 11.2%;
15-
--muted: 210 40% 96.1%;
16-
--muted-foreground: 215.4 16.3% 46.9%;
17-
--accent: 210 40% 96.1%;
18-
--accent-foreground: 222.2 47.4% 11.2%;
19-
--destructive: 0 84.2% 60.2%;
20-
--destructive-foreground: 210 40% 98%;
21-
--border: 214.3 31.8% 91.4%;
22-
--input: 214.3 31.8% 91.4%;
23-
--ring: 221.2 83.2% 53.3%;
24-
--radius: 0.75rem;
25-
}
26-
27-
.dark {
28-
--background: 222.2 84% 4.9%;
29-
--foreground: 210 40% 98%;
30-
--card: 222.2 84% 4.9%;
31-
--card-foreground: 210 40% 98%;
32-
--popover: 222.2 84% 4.9%;
33-
--popover-foreground: 210 40% 98%;
34-
--primary: 217.2 91.2% 59.8%;
35-
--primary-foreground: 222.2 47.4% 11.2%;
36-
--secondary: 217.2 32.6% 17.5%;
37-
--secondary-foreground: 210 40% 98%;
38-
--muted: 217.2 32.6% 17.5%;
39-
--muted-foreground: 215 20.2% 65.1%;
40-
--accent: 217.2 32.6% 17.5%;
41-
--accent-foreground: 210 40% 98%;
42-
--destructive: 0 62.8% 30.6%;
43-
--destructive-foreground: 210 40% 98%;
44-
--border: 217.2 32.6% 17.5%;
45-
--input: 217.2 32.6% 17.5%;
46-
--ring: 224.3 76.3% 48%;
47-
}
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
484

495
@layer base {
506
:root {
@@ -103,17 +59,6 @@
10359
}
10460
}
10561

106-
/* Footer styles */
107-
.footer-container {
108-
position: fixed;
109-
bottom: 0;
110-
left: 0;
111-
width: 100%;
112-
padding: 1rem;
113-
z-index: 10;
114-
background-color: var(--background);
115-
}
116-
11762
/* Add padding to the bottom of the main content to prevent footer overlap */
11863
main {
11964
padding-bottom: 5rem; /* Adjust based on your footer height */

components/code-highlighter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function CodeHighlighter({ code, language, fontSize = 14, theme =
4444

4545
const getHighlightTheme = (monacoTheme: string): string => {
4646
const themeMap: Record<string, string> = {
47-
vs: "github",
47+
vs: "vs",
4848
"vs-dark": "github-dark",
4949
"hc-black": "github-dark-dimmed",
5050
"hc-light": "github",

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@
6565
"zod": "^3.24.1"
6666
},
6767
"devDependencies": {
68-
"@tailwindcss/postcss": "^4.0.12",
6968
"@types/node": "^22",
7069
"@types/react": "^18",
7170
"@types/react-dom": "^18",
7271
"autoprefixer": "^10.4.20",
7372
"postcss": "^8.5.3",
74-
"tailwindcss": "^4.0.12",
73+
"tailwindcss": "^3",
7574
"tailwindcss-animate": "^1.0.7",
7675
"typescript": "^5"
7776
}

0 commit comments

Comments
 (0)