Skip to content

Commit

Permalink
feat: custom scrollbar style to match app
Browse files Browse the repository at this point in the history
  • Loading branch information
AviVahl committed Dec 29, 2024
1 parent 8c996f2 commit ac8de43
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@
:root {
@apply bg-gray-100 dark:bg-gray-800 transition-colors duration-200;
}

@layer components {
::-webkit-scrollbar {
@apply w-3;
}

::-webkit-scrollbar-track {
@apply bg-transparent;
}

::-webkit-scrollbar-thumb {
@apply bg-gray-400 dark:bg-gray-600 rounded-full hover:bg-gray-500 dark:hover:bg-gray-500 transition-colors;
}
}

0 comments on commit ac8de43

Please sign in to comment.