design: improve menu buttons

This commit is contained in:
James Xylight committed 2025-08-21 17:35:44 -07:00
1 parent d3ef22dac2
commit f5422f976b
4 files changed
+15 -14

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@
>
<div
class="flex flex-col px-0 list-none bg-white/80 dark:bg-zinc-900/90 rounded-2xl
border border-slate-300 dark:border-zinc-800 border-opacity-50"
border border-slate-300 dark:border-zinc-800 border-opacity-50 py-1"
>
{@render children?.(open)}
</div>
+2 -2
View File
@@ -40,7 +40,7 @@
size="custom"
rounding="none"
class={[
'w-full px-4 py-2 min-h-7 font-normal duration-100',
'w-full px-4.5 py-1.5 min-h-7 duration-100 font-normal',
disabled && 'opacity-70 pointer-events-none cursor-not-allowed',
color == 'tertiary' && 'dark:hover:bg-zinc-800/70',
clazz,
@@ -54,7 +54,7 @@
<div
class={[
'contents shrink-0',
color == 'tertiary' && 'text-slate-500 dark:text-zinc-500',
color == 'tertiary' && 'text-slate-600 dark:text-zinc-400',
]}
>
{#if icon}