chore: move to tailwind v4

This commit is contained in:
Philipp Dormann 2025-04-22 21:18:19 +02:00
parent e1bf435080
commit 81a8ce002c
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
8 changed files with 297 additions and 5521 deletions

View File

@ -15,13 +15,10 @@
"@odit/license-exporter": "0.2.0",
"@sveltejs/vite-plugin-svelte": "2.1.1",
"auto-changelog": "2.5.0",
"autoprefixer": "10.4.21",
"postcss": "8.5.3",
"prettier": "3.5.3",
"prettier-plugin-svelte": "3.3.3",
"release-it": "17.10.0",
"svelte-select": "3.17.0",
"tailwindcss": "3.4.15",
"vite": "4.3.3"
},
"release-it": {
@ -45,6 +42,7 @@
"@fontsource/athiti": "^5.2.5",
"@odit/lfk-client-js": "1.2.4",
"@paralleldrive/cuid2": "2.2.2",
"@tailwindcss/vite": "^4.1.4",
"@tanstack/svelte-table": "8.9.1",
"bwip-js": "3.4.0",
"check-password-strength": "2.0.10",
@ -55,6 +53,7 @@
"svelte": "3.58.0",
"svelte-french-toast": "1.2.0",
"svelte-i18n": "3.6.0",
"tailwindcss": "^4.1.4",
"tinro": "0.6.12",
"validator": "13.15.0",
"xlsx": "0.18.5"

824
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,9 @@
@tailwind base;
@tailwind components;
@import "tailwindcss";
.activenav {
@apply bg-gray-300;
@apply text-black;
@apply bg-gray-300;
@apply text-black;
}
* {
font-family: Athiti;
font-family: Athiti;
}
@tailwind utilities;

View File

@ -1,16 +0,0 @@
module.exports = {
darkMode: 'selector',
mode: "jit",
content: ["./src/**/*.svelte"],
theme: {
extend: {
colors: {
reepolee: {
500: "#b40000",
600: "#9c0000",
700: "#750000",
},
},
},
},
};

View File

@ -1,11 +1,8 @@
// vite.config.js
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [
svelte({
/* plugin options */
}),
],
plugins: [svelte(), tailwindcss()],
});

4683
yarn.lock

File diff suppressed because it is too large Load Diff