Skip to content

Commit

Permalink
Merge pull request #22 from imrofayel/fuma
Browse files Browse the repository at this point in the history
Dark Mode Fix 🎁
  • Loading branch information
imrofayel authored Dec 24, 2024
2 parents 1895d3f + 059e387 commit 2ec27d8
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 93 deletions.
6 changes: 3 additions & 3 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,19 @@

::-webkit-scrollbar-track {
background: transparent; /* Background of the scrollbar track */
@apply dark:bg-[#1f2920] rounded-full;
@apply dark:bg-[#404040] rounded-full;
}

::-webkit-scrollbar-thumb {
@apply dark:bg-[#3c4a3e] bg-gray-200;
@apply dark:bg-[#171717] bg-gray-200;
border-radius: 1rem; /* Rounded corners for the thumb */
border: 3px solid transparent; /* Adds padding around the thumb */
background-clip: content-box; /* Ensures the thumb stays within bounds */
}

::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.7); /* Darker color on hover */
@apply dark:bg-[#2f3a32];
@apply dark:bg-[#404040];
}

::-webkit-scrollbar-corner {
Expand Down
Loading

0 comments on commit 2ec27d8

Please sign in to comment.