Added Tailwind CSS

This commit is contained in:
datalore 2023-11-03 00:32:09 +01:00
parent 04b50a6792
commit 813edbb5fa
5 changed files with 1082 additions and 4 deletions

1056
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,14 +9,17 @@
"lint": "next lint"
},
"dependencies": {
"next": "14.0.1",
"react": "^18",
"react-dom": "^18",
"next": "14.0.1"
"react-dom": "^18"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18"
"@types/react-dom": "^18",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"typescript": "^5"
}
}

6
postcss.config.ts Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--max-width: 1100px;
--border-radius: 12px;

9
tailwind.config.ts Normal file
View File

@ -0,0 +1,9 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {},
},
plugins: [],
}