betterstart-cli 0.0.121 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
14
14
|
--color-sidebar-border: var(--sidebar-border);
|
|
15
15
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
16
|
+
--color-sidebar-accent-light: var(--sidebar-accent-light);
|
|
16
17
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
17
18
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
18
19
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
@@ -259,6 +260,7 @@
|
|
|
259
260
|
--sidebar-foreground: var(--ds-gray-900);
|
|
260
261
|
--sidebar-primary: var(--ds-gray-1000);
|
|
261
262
|
--sidebar-primary-foreground: var(--ds-background-100);
|
|
263
|
+
--sidebar-accent-light: var(--ds-gray-100);
|
|
262
264
|
--sidebar-accent: var(--ds-gray-200);
|
|
263
265
|
--sidebar-accent-foreground: var(--ds-gray-1000);
|
|
264
266
|
--sidebar-border: var(--ds-gray-400);
|
|
@@ -415,13 +415,14 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>) {
|
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
const sidebarMenuButtonVariants = cva(
|
|
418
|
-
'peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded px-3 py-2 text-left ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:
|
|
418
|
+
'peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded px-3 py-2 text-left font-medium ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent-light hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate',
|
|
419
419
|
{
|
|
420
420
|
variants: {
|
|
421
421
|
variant: {
|
|
422
|
-
default:
|
|
422
|
+
default:
|
|
423
|
+
'hover:bg-sidebar-accent-light hover:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent',
|
|
423
424
|
outline:
|
|
424
|
-
'bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]'
|
|
425
|
+
'bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent-light hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)] data-active:hover:bg-sidebar-accent'
|
|
425
426
|
},
|
|
426
427
|
size: {
|
|
427
428
|
default: 'h-9',
|