Skip to content

Commit 7d807cc

Browse files
authored
Merge pull request #36 from PyaeSoneAungRgn/fix/scrollbar-depracation
fix `scrollbar_thumb.background` deprecation
2 parents 3d5c8d2 + 23922fd commit 7d807cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ export function getTheme({ themeKey, name, type }) {
195195

196196
"scrollbar.thumb.border": tokens['borderColor/transparent'],
197197
"scrollbar.thumb.hover_background": alpha('bgColor/neutral-emphasis', type === 'light' ? 0.2 : 0.4),
198+
"scrollbar.thumb.background": alpha('bgColor/neutral-emphasis', type === 'light' ? 0.1 : 0.3),
198199
"scrollbar.track.background": tokens['bgColor/transparent'],
199200
"scrollbar.track.border": tokens['borderColor/transparent'],
200-
"scrollbar_thumb.background": alpha('bgColor/neutral-emphasis', type === 'light' ? 0.1 : 0.3),
201201

202202
"search.match_background": alpha("base/color/yellow/1", 0.3),
203203

0 commit comments

Comments
 (0)