Skip to content

Commit 28de20d

Browse files
authored
Merge pull request #35 from duytbp/minimap
fix: minimap bg colors
2 parents ca4ed75 + 078cf92 commit 28de20d

2 files changed

Lines changed: 61 additions & 52 deletions

File tree

src/theme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ export function getTheme({ themeKey, name, type }) {
194194
"renamed.border": tokens['borderColor/success-muted'],
195195

196196
"scrollbar.thumb.border": tokens['borderColor/transparent'],
197-
"scrollbar.thumb.hover_background": tokens['bgColor/muted'],
197+
"scrollbar.thumb.hover_background": alpha('bgColor/neutral-emphasis', type === 'light' ? 0.2 : 0.4),
198198
"scrollbar.track.background": tokens['bgColor/transparent'],
199199
"scrollbar.track.border": tokens['borderColor/transparent'],
200-
"scrollbar_thumb.background": tokens['bgColor/neutal-muted'],
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)