format
This commit is contained in:
parent
89df268533
commit
908e503360
19 changed files with 100 additions and 100 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue