Skip to content

Commit

Permalink
feat: add webkit scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
swwind committed Mar 19, 2023
1 parent 26b376b commit c6554b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/alnus/src/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@
body {
@apply bg-white text-slate-900 dark:bg-slate-900 dark:text-white;
}

::-webkit-scrollbar {
@apply h-1.5 w-1.5 bg-white dark:bg-slate-900;
}

::-webkit-scrollbar-thumb {
@apply rounded-full bg-slate-100 active:bg-slate-200 dark:bg-slate-800 dark:active:bg-slate-700;
}

0 comments on commit c6554b6

Please sign in to comment.