We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de2517 commit fbc5cc0Copy full SHA for fbc5cc0
.changeset/thirty-windows-listen.md
@@ -0,0 +1,5 @@
1
+---
2
+"@alauda/ui": patch
3
4
+
5
+feat: mod sroll bar style
src/theme/_mixin.scss
@@ -152,17 +152,21 @@
152
transform: translate(-50%, -50%);
153
}
154
155
-@mixin scroll-bar($color: #{use-rgba(n-1, 0.2)}) {
+@mixin scroll-bar($color: #{use-rgb(n-7)}, $hover-color: #{use-rgb(n-5)}) {
156
&::-webkit-scrollbar {
157
- width: 4px;
+ width: 8px;
158
height: 4px;
159
160
161
&::-webkit-scrollbar-thumb {
162
- border-radius: 2px;
+ border-radius: 4px;
163
background-color: $color;
164
165
166
+ &::-webkit-scrollbar-thumb:hover {
167
+ background-color: $hover-color;
168
+ }
169
170
&::-webkit-scrollbar-corner {
171
background-color: transparent;
172
0 commit comments