diff --git a/package.json b/package.json index a96d9b9..6025f3c 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,12 @@ "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitejs/plugin-react": "^4.0.3", + "autoprefixer": "^10.4.15", "eslint": "^8.45.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", + "postcss": "^8.4.29", + "tailwindcss": "^3.3.3", "typescript": "^5.0.2", "vite": "^4.4.5" } diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..2e7af2b --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/src/App.css b/src/App.css index f21aae3..1eb0256 100644 --- a/src/App.css +++ b/src/App.css @@ -1,3 +1,7 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + :root { --bg: #27374d; --text-1: #dde6ed; diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..6318342 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ['./src/**/*.{html,js,ts,tsx}'], + theme: { + extend: {}, + }, + plugins: [], +}