Skip to content

Commit

Permalink
style: customize the scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
bmenegidio committed Jul 18, 2024
1 parent 6054713 commit 2cb27d5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@
background: theme('colors.primary');
}

::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-track {
background: theme('colors.gray.700');
}

::-webkit-scrollbar-thumb {
background: theme('colors.primary');
border-radius: theme('borderRadius.2xl');
}

::-webkit-scrollbar-thumb:hover {
background: theme('colors.gray.800');
}

body {
background: theme('colors.background');
color: theme('colors.textColor');
Expand Down

0 comments on commit 2cb27d5

Please sign in to comment.