design: use commonlist in sidebars

This commit is contained in:
James Xylight committed 2025-08-20 20:48:50 -07:00
1 parent bf0d4cf238
commit 9e9fc326b8
9 files changed
+216 -69

No files matched your search

+2 -2
View File
@@ -125,12 +125,12 @@
{...rest}
tabindex={disabled ? -1 : undefined}
class={[
loading ? buttonColor.secondary : buttonColor[color],
buttonSize[size],
buttonRounding[rounding],
buttonShadow[shadow],
buttonColor[color],
'text-sm transition-all font-medium cursor-pointer duration-75 disabled:opacity-50 disabled:pointer-events-none disabled:shadow-none',
disabled && 'pointer-events-none opacity-50 shadow-none',
(disabled || loading) && 'pointer-events-none opacity-50 shadow-none',
alignment == 'center'
? 'origin-center'
: alignment == 'left'