design: make entityheaders not look like genuine garbage
This commit is contained in:
19 files changed
+209
-192
No files matched your search
@@ -99,7 +99,7 @@
|
||||
type = 'button',
|
||||
color = 'secondary',
|
||||
size = 'md',
|
||||
rounding = 'xl',
|
||||
rounding = size == 'lg' || size == 'square-lg' ? '2xl' : 'xl',
|
||||
alignment = 'center',
|
||||
shadow = color == 'primary' || color == 'secondary' ? 'sm' : 'none',
|
||||
disabled,
|
||||
@@ -267,12 +267,7 @@
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
/* border border-slate-200 dark:border-zinc-800 bg-transparent
|
||||
hover:bg-slate-100 dark:hover:bg-zinc-800 dark:hover:border-zinc-700 dark:text-zinc-400 hover:text-inherit
|
||||
dark:hover:text-inherit */
|
||||
|
||||
border: 1px solid var(--color-slate-200);
|
||||
background-color: transparent;
|
||||
|
||||
@variant hover {
|
||||
background-color: var(--color-slate-100);
|
||||
@@ -306,7 +301,7 @@
|
||||
|
||||
.btn-lg {
|
||||
padding-block: calc(var(--spacing) * 2);
|
||||
padding-inline: calc(var(--spacing) * 3);
|
||||
padding-inline: calc(var(--spacing) * 5);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
@@ -326,8 +321,8 @@
|
||||
}
|
||||
|
||||
.btn-square-lg {
|
||||
width: calc(var(--spacing) * 10);
|
||||
height: calc(var(--spacing) * 10);
|
||||
width: calc(var(--spacing) * 9.5);
|
||||
height: calc(var(--spacing) * 9.5);
|
||||
}
|
||||
|
||||
.btn-square-xl {
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
lg: 'rounded-lg',
|
||||
xl: 'rounded-xl',
|
||||
'2xl': 'rounded-2xl',
|
||||
'3xl': 'rounded-3xl',
|
||||
full: 'rounded-full',
|
||||
}
|
||||
|
||||
@@ -53,7 +54,7 @@
|
||||
}
|
||||
|
||||
let {
|
||||
elevation = 'medium',
|
||||
elevation = 'low',
|
||||
padding = 'md',
|
||||
rounding = 'xl',
|
||||
color = 'uniform',
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
class: clazz = '',
|
||||
}: Props = $props()
|
||||
|
||||
const modalId = crypto.randomUUID()
|
||||
const modalId = Math.random().toString()
|
||||
|
||||
let el = $state<HTMLElement>()
|
||||
let hasHistoryEntry = false
|
||||
|
||||
Reference in new issue
Block a user