Pull more scrollbar colors from VS Code
This commit is contained in:
parent
6add17338c
commit
fe46459982
10 changed files with 77 additions and 8 deletions
|
@ -127,6 +127,16 @@ impl VsCodeThemeConverter {
|
|||
.as_ref()
|
||||
.traverse(|color| try_parse_color(&color))?;
|
||||
|
||||
let vscode_scrollbar_shadow = vscode_colors
|
||||
.scrollbar_shadow
|
||||
.as_ref()
|
||||
.traverse(|color| try_parse_color(&color))?;
|
||||
|
||||
let vscode_scrollbar_slider_background = vscode_colors
|
||||
.scrollbar_slider_background
|
||||
.as_ref()
|
||||
.traverse(|color| try_parse_color(&color))?;
|
||||
|
||||
Ok(ThemeColorsRefinement {
|
||||
border: vscode_colors
|
||||
.panel_border
|
||||
|
@ -234,14 +244,10 @@ impl VsCodeThemeConverter {
|
|||
.editor_foreground
|
||||
.as_ref()
|
||||
.traverse(|color| try_parse_color(&color))?,
|
||||
scrollbar_track_background: vscode_colors
|
||||
.scrollbar_shadow
|
||||
.as_ref()
|
||||
.traverse(|color| try_parse_color(&color))?,
|
||||
scrollbar_thumb_background: vscode_colors
|
||||
.scrollbar_slider_background
|
||||
.as_ref()
|
||||
.traverse(|color| try_parse_color(&color))?,
|
||||
scrollbar_track_background: vscode_scrollbar_shadow,
|
||||
scrollbar_track_border: vscode_scrollbar_shadow,
|
||||
scrollbar_thumb_background: vscode_scrollbar_slider_background,
|
||||
scrollbar_thumb_border: vscode_scrollbar_slider_background,
|
||||
scrollbar_thumb_hover_background: vscode_colors
|
||||
.scrollbar_slider_hover_background
|
||||
.as_ref()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue