Skip to content

Commit 23922fd

Browse files
committed
fix scrollbar_thumb.background deprecation
new property is named `scrollbar.thumb.background`
1 parent 1ce7344 commit 23922fd

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)