feat: Add DaisyUI

This commit is contained in:
April Hall 2025-01-04 15:54:15 -05:00
parent 618afe9840
commit c62ffb23db
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B
4 changed files with 4 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -36,6 +36,7 @@
"vite": "^5.4.11" "vite": "^5.4.11"
}, },
"dependencies": { "dependencies": {
"daisyui": "^4.12.23",
"drizzle-orm": "^0.33.0", "drizzle-orm": "^0.33.0",
"postgres": "^3.4.4", "postgres": "^3.4.4",
"socket.io": "^4.8.1", "socket.io": "^4.8.1",

View File

@ -32,7 +32,7 @@
<main> <main>
<h1 class="text-lg"># SvelteKit with Socket.IO Integration</h1> <h1 class="text-lg"># SvelteKit with Socket.IO Integration</h1>
<button class="button" on:click={() => establishSocketIOConnection()}> <button class="btn btn-primary" on:click={() => establishSocketIOConnection()}>
Establish Socket.IO connection Establish Socket.IO connection
</button> </button>

View File

@ -1,6 +1,7 @@
import type { Config } from 'tailwindcss'; import type { Config } from 'tailwindcss';
import daisyui from 'daisyui';
export default { export default {
content: ['./src/**/*.{html,js,svelte,ts}'], content: ['./src/**/*.{html,js,svelte,ts}'],
plugins: [] plugins: [daisyui]
} satisfies Config; } satisfies Config;