This commit is contained in:
Benjamin Palko 2025-03-08 12:26:57 -05:00
parent 89df268533
commit 908e503360
19 changed files with 100 additions and 100 deletions

View file

@ -66,4 +66,4 @@
"svelte": "^5.0.0",
"tailwindcss": "^3.4.9"
}
}
}

View file

@ -3,4 +3,4 @@ export default {
tailwindcss: {},
autoprefixer: {},
},
};
};

View file

@ -36,7 +36,7 @@
'w-16': size === 'sm',
'w-20': size === 'md',
'w-32': size === 'lg',
'avatar-ring ring ring-offset-2 ring-offset-base-100': !!ring,
'avatar-ring ring-offset-base-100 ring ring-offset-2': !!ring,
})
)}
class:bg-neutral={placeholder}

View file

@ -53,7 +53,7 @@
{@render label()}
{/if}
</span>
<span class="label-text-alt font-semibold text-error">
<span class="label-text-alt text-error font-semibold">
{#if typeof error === 'string'}
{error}
{:else if error}

View file

@ -43,7 +43,7 @@
{@render label()}
{/if}
</span>
<span class="label-text-alt font-semibold text-error">
<span class="label-text-alt text-error font-semibold">
{#if typeof error === 'string'}
{error}
{:else if error}

View file

@ -18,7 +18,7 @@
{/snippet}
{#snippet end()}
<div class="avatar placeholder">
<div class="w-8 rounded-full bg-neutral text-neutral-content">
<div class="bg-neutral text-neutral-content w-8 rounded-full">
<span class="text-xs">UI</span>
</div>
</div>

View file

@ -4,7 +4,7 @@
let { start, center, end }: { start?: Snippet; center?: Snippet; end?: Snippet } = $props();
</script>
<header class="navbar justify-between rounded-box bg-base-200 px-4">
<header class="navbar rounded-box bg-base-200 justify-between px-4">
<div class="navbar-start">{@render start?.()}</div>
<div class="navbar-center">{@render center?.()}</div>
<div class="navbar-end">{@render end?.()}</div>

View file

@ -3,4 +3,4 @@ export * from './DataInput/';
export * from './DataDisplay';
export * from './Feedback/';
export * from './Layout/';
export * from './Navigation/';
export * from './Navigation/';

View file

@ -1,2 +1,2 @@
export * from './components/';
export * from './types/';
export * from './types/';

View file

@ -1,10 +1,10 @@
export type DaisyColor =
| "neutral"
| "primary"
| "secondary"
| "accent"
| "ghost"
| "info"
| "success"
| "warning"
| "error";
| 'neutral'
| 'primary'
| 'secondary'
| 'accent'
| 'ghost'
| 'info'
| 'success'
| 'warning'
| 'error';

View file

@ -1 +1 @@
export type DaisySize = "xs" | "sm" | "lg";
export type DaisySize = 'xs' | 'sm' | 'lg';

View file

@ -1,2 +1,2 @@
export * from "./daisy-colors";
export * from "./daisy-sizes";
export * from './daisy-colors';
export * from './daisy-sizes';

View file

@ -1,12 +1,12 @@
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {},
kit: {},
};
export default config;

View file

@ -7,4 +7,4 @@ export default {
daisyui: {
logs: false,
},
} satisfies Config;
} satisfies Config;

View file

@ -16,4 +16,4 @@
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}
}

View file

@ -7,4 +7,4 @@ export default defineConfig({
test: {
include: ['src/**/*.{test,spec}.{js,ts}'],
},
});
});