Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
-left-1
flex
flex-col
gap-px
gap-1
after:absolute
after:left-[0.45rem]
after:left-3
after:top-0
after:z-10
after:h-full
Expand All @@ -64,8 +64,8 @@
last:after:w-4
last:after:bg-white
last:after:content-['']
first:dark:before:bg-neutral-950
last:dark:after:bg-neutral-950;
first:dark:before:bg-transparent
last:dark:after:bg-transparent;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
gap-1
overflow-hidden
rounded-md
pl-1
text-sm
text-neutral-800
dark:text-neutral-200;
Expand Down
7 changes: 7 additions & 0 deletions packages/ui-components/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@
}

@custom-variant aria-current (&[aria-current="page"]);

* {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@canerakdas cam tailwind styles be used here?

Also, I wonder if we really want to change the scrollbar on this PR. I feel this shouldn't be done on this PR and done in another discussion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@canerakdas cam tailwind styles be used here?

It should be available, even if these utility classes are not available in tailwind, they can be added like

@apply [scrollbar-width:thin]

scrollbar-color: var(--color-green-600, #417e38)
var(--color-neutral-900, #2c3437); /* thumb color, track color */

scrollbar-width: thin;
}