Skip to content

Commit f3407fd

Browse files
committed
Revert "Bump tailwindcss from 3.4.17 to 4.1.11 (#1030)"
This reverts commit 526c61f.
1 parent 526c61f commit f3407fd

File tree

6 files changed

+479
-38
lines changed

6 files changed

+479
-38
lines changed

app/globals.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
@import "tailwindcss";
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
24

35
html {
46
font-size: 16px;

app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export const metadata: Metadata = {
1212

1313
export default function Home() {
1414
return (
15-
<main className="container mx-auto max-w-7xl px-6 grow">
15+
<main className="container mx-auto max-w-7xl px-6 flex-grow">
1616
<section className="flex flex-col items-center justify-center">
17-
<section className="flex relative overflow-hidden lg:overflow-visible w-full flex-nowrap justify-between items-center h-[calc(100vh-64px)] 2xl:h-[calc(84vh-64px)]">
17+
<section className="flex relative overflow-hidden lg:overflow-visible w-full flex-nowrap justify-between items-center h-[calc(100vh_-_64px)] 2xl:h-[calc(84vh_-_64px)]">
1818
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
1919
<div className="text-center leading-8 md:leading-10 md:text-left">
2020
<div className="inline-block">
2121
<h1 className="font-bold text-3xl lg:text-6xl">
22-
<span className="from-[#51DEEC] to-[#3023AE] bg-clip-text text-transparent bg-linear-to-b">
22+
<span className="from-[#51DEEC] to-[#3023AE] bg-clip-text text-transparent bg-gradient-to-b">
2323
Effortlessly
2424
</span>{" "}
2525
build and share your C++ packages.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@fortawesome/free-solid-svg-icons": "^6.7.2",
2323
"@fortawesome/react-fontawesome": "^0.2.2",
2424
"@nextui-org/react": "^2.6.11",
25-
"@nextui-org/theme": "^2.4.5",
2625
"@vercel/analytics": "^1.5.0",
2726
"@vercel/speed-insights": "^1.2.0",
2827
"framer-motion": "^12.22.0",
@@ -42,7 +41,6 @@
4241
"@graphql-codegen/typescript-graphql-request": "^6.3.0",
4342
"@graphql-codegen/typescript-operations": "^4.6.1",
4443
"@tailwindcss/typography": "^0.5.16",
45-
"@tsconfig/next": "^2.0.3",
4644
"@types/node": "24.0.10",
4745
"@types/react": "18.3.12",
4846
"@types/react-dom": "18.3.1",
@@ -52,7 +50,7 @@
5250
"next-sitemap": "^4.2.3",
5351
"postcss": "^8.5.6",
5452
"tailwind-variants": "^1.0.0",
55-
"tailwindcss": "^4.1.11",
53+
"tailwindcss": "^3.4.17",
5654
"typescript": "^5.8.3"
5755
},
5856
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"

postcss.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export default {
22
plugins: {
3-
"@tailwindcss/postcss": {},
3+
tailwindcss: {},
4+
autoprefixer: {},
45
},
56
};

tsconfig.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
{
2-
"extends": "@tsconfig/next/tsconfig.json",
32
"compilerOptions": {
4-
"target": "es2024",
5-
"module": "esnext",
6-
"moduleResolution": "bundler",
7-
8-
"strict": true,
3+
"target": "es5",
4+
"lib": ["dom", "dom.iterable", "esnext"],
5+
"allowJs": true,
96
"skipLibCheck": true,
7+
"strict": true,
8+
"forceConsistentCasingInFileNames": true,
109
"noEmit": true,
10+
"esModuleInterop": true,
11+
"module": "esnext",
12+
"moduleResolution": "node",
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
15+
"jsx": "preserve",
16+
"incremental": true,
1117
"baseUrl": ".",
12-
"paths": { "~/*": ["./*"] },
13-
"types": ["tailwindcss", "node"]
18+
"paths": {
19+
"~/*": ["./*"]
20+
},
21+
"plugins": [
22+
{
23+
"name": "next"
24+
}
25+
]
1426
},
1527
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
1628
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)