Skip to content

Commit

Permalink
Opt: scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyCreeper committed Dec 12, 2023
1 parent ff2f858 commit 0c9a91f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/assets/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
@tailwind components;
@tailwind utilities;

::-webkit-scrollbar {
width: 8px;
height: 8px;
}

::-webkit-scrollbar-thumb {
border-radius: 4px;
box-shadow: inset 0 0 5px rgba(69, 69, 69, 0.1);
background: rgba(116, 113, 113, 0.5);
}

::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px rgba(49, 49, 49, 0.04);
border-radius: 4px;
background: rgba(255, 255, 255, 0.04);
}

html,
body {
font-family: MiSans;
Expand Down

0 comments on commit 0c9a91f

Please sign in to comment.