mirror of
https://github.com/edufeed-org/educards.git
synced 2025-12-07 23:34:34 +00:00
Upgrade tailwind and daisyui
This commit is contained in:
parent
92da52d192
commit
77b1a5afe7
6 changed files with 1813 additions and 1032 deletions
2809
package-lock.json
generated
2809
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -19,8 +19,7 @@
|
||||||
"@sveltejs/adapter-vercel": "^5.5.2",
|
"@sveltejs/adapter-vercel": "^5.5.2",
|
||||||
"@sveltejs/kit": "^2.16.0",
|
"@sveltejs/kit": "^2.16.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
||||||
"autoprefixer": "^10.4.20",
|
"daisyui": "^5.0.27",
|
||||||
"daisyui": "^4.12.23",
|
|
||||||
"eslint": "^9.18.0",
|
"eslint": "^9.18.0",
|
||||||
"eslint-config-prettier": "^10.0.1",
|
"eslint-config-prettier": "^10.0.1",
|
||||||
"eslint-plugin-svelte": "^2.46.1",
|
"eslint-plugin-svelte": "^2.46.1",
|
||||||
|
|
@ -31,11 +30,13 @@
|
||||||
"svelte": "^5.0.0",
|
"svelte": "^5.0.0",
|
||||||
"svelte-check": "^4.0.0",
|
"svelte-check": "^4.0.0",
|
||||||
"svelte-dnd-action": "^0.9.57",
|
"svelte-dnd-action": "^0.9.57",
|
||||||
"tailwindcss": "^3.4.17",
|
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.0.0",
|
||||||
"vite": "^6.0.0"
|
"vite": "^6.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nostr-dev-kit/ndk": "^2.11.0"
|
"@nostr-dev-kit/ndk": "^2.11.0",
|
||||||
|
"@tailwindcss/vite": "^4.1.4",
|
||||||
|
"carta-md": "^4.9.0",
|
||||||
|
"tailwindcss": "^4.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
export default {
|
|
||||||
plugins: {
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
@import 'tailwindcss/base';
|
@import "tailwindcss";
|
||||||
@import 'tailwindcss/components';
|
|
||||||
@import 'tailwindcss/utilities';
|
@plugin "daisyui" {
|
||||||
|
themes: light --default;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
/** @type {import('tailwindcss').Config} */
|
|
||||||
export default {
|
|
||||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
|
||||||
|
|
||||||
theme: {
|
|
||||||
extend: {}
|
|
||||||
},
|
|
||||||
|
|
||||||
plugins: [require('daisyui'),]
|
|
||||||
};
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
|
import tailwindcss from '@tailwindcss/vite';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [sveltekit()]
|
plugins: [tailwindcss(), sveltekit()]
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue