Configurable scrollbar border radius

This commit is contained in:
Eduard Urbach 2021-11-20 13:07:50 +09:00
parent fb2dc7b58d
commit e2c3feb36c
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ const ui-element-border-radius = 3px
// Scrollbar
scrollbar-size = 10px
scrollbar-border-size = 2px
scrollbar-border-radius = 5px
scrollbar-thumb-color = hsla(text-color-h, text-color-s, text-color-l, 0.75)
scrollbar-track-color = transparent

View File

@ -12,6 +12,6 @@
::-webkit-scrollbar-thumb
border scrollbar-border-size solid transparent
border-radius 5px
border-radius scrollbar-border-radius
background-clip content-box
background-color scrollbar-thumb-color