format
This commit is contained in:
parent
89df268533
commit
908e503360
19 changed files with 100 additions and 100 deletions
|
|
@ -66,4 +66,4 @@
|
|||
"svelte": "^5.0.0",
|
||||
"tailwindcss": "^3.4.9"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ export default {
|
|||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ export * from './DataInput/';
|
|||
export * from './DataDisplay';
|
||||
export * from './Feedback/';
|
||||
export * from './Layout/';
|
||||
export * from './Navigation/';
|
||||
export * from './Navigation/';
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
export * from './components/';
|
||||
export * from './types/';
|
||||
export * from './types/';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export type DaisySize = "xs" | "sm" | "lg";
|
||||
export type DaisySize = 'xs' | 'sm' | 'lg';
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
export * from "./daisy-colors";
|
||||
export * from "./daisy-sizes";
|
||||
export * from './daisy-colors';
|
||||
export * from './daisy-sizes';
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ export default {
|
|||
daisyui: {
|
||||
logs: false,
|
||||
},
|
||||
} satisfies Config;
|
||||
} satisfies Config;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ export default defineConfig({
|
|||
test: {
|
||||
include: ['src/**/*.{test,spec}.{js,ts}'],
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue