Skip to content

Commit 9d316b6

Browse files
committed
style: update sidebar item spacing and scrollbar styles
1 parent 45cf465 commit 9d316b6

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

packages/ui-components/src/Containers/Sidebar/SidebarGroup/index.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
-left-1
3939
flex
4040
flex-col
41-
gap-px
41+
gap-1
4242
after:absolute
43-
after:left-[0.45rem]
43+
after:left-3
4444
after:top-0
4545
after:z-10
4646
after:h-full
@@ -64,8 +64,8 @@
6464
last:after:w-4
6565
last:after:bg-white
6666
last:after:content-['']
67-
first:dark:before:bg-neutral-950
68-
last:dark:after:bg-neutral-950;
67+
first:dark:before:bg-transparent
68+
last:dark:after:bg-transparent;
6969
}
7070
}
7171
}

packages/ui-components/src/Containers/Sidebar/SidebarItem/index.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
gap-1
1111
overflow-hidden
1212
rounded-md
13+
pl-1
1314
text-sm
1415
text-neutral-800
1516
dark:text-neutral-200;

packages/ui-components/src/styles/index.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@
3737
}
3838

3939
@custom-variant aria-current (&[aria-current="page"]);
40+
41+
* {
42+
scrollbar-color: var(--color-green-600, #417e38)
43+
var(--color-neutral-900, #2c3437); /* thumb color, track color */
44+
45+
scrollbar-width: thin;
46+
}

0 commit comments

Comments
 (0)