feat: Migrate to Tailwind CSS v4

This commit is contained in:
2026-02-06 16:10:57 -06:00
parent c24e98ff8a
commit 4f103c25b5
6 changed files with 2758 additions and 1664 deletions

4359
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,13 +12,14 @@
"colorthief": "^2.4.0",
"tinycolor2": "^1.6.0",
"vue": "^3.3.4",
"vue-router": "^4.2.5"
"vue-router": "^5.0.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"@tailwindcss/vite": "^4.1.18",
"@vitejs/plugin-vue": "^6.0.4",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.3",
"vite": "^4.4.5"
"tailwindcss": "^4.1.18",
"vite": "^7.3.1"
}
}

View File

@@ -1,6 +0,0 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@@ -1,3 +1 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";

View File

@@ -1,12 +0,0 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}

View File

@@ -1,9 +1,13 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
plugins: [
vue(),
tailwindcss(),
],
server: {
watch: {
usePolling: true,