cargo fmt
This commit is contained in:
parent
c1cfa024d6
commit
0ffe3f3a3e
1 changed files with 2 additions and 15 deletions
|
|
@ -160,7 +160,6 @@ pub struct VsTheme {
|
||||||
#[serde(rename = "statusBarItem.remoteBackground")]
|
#[serde(rename = "statusBarItem.remoteBackground")]
|
||||||
status_bar_item_remote_background: String,
|
status_bar_item_remote_background: String,
|
||||||
|
|
||||||
|
|
||||||
// accent fg colors
|
// accent fg colors
|
||||||
#[serde(rename = "activityBarBadge.foreground")]
|
#[serde(rename = "activityBarBadge.foreground")]
|
||||||
activity_bar_badge_foreground: String,
|
activity_bar_badge_foreground: String,
|
||||||
|
|
@ -190,11 +189,7 @@ impl From<Theme> for VsTheme {
|
||||||
title_bar_active_background: format!("#{}", to_hex(theme.background.component.base)),
|
title_bar_active_background: format!("#{}", to_hex(theme.background.component.base)),
|
||||||
title_bar_inactive_background: format!(
|
title_bar_inactive_background: format!(
|
||||||
"#{}",
|
"#{}",
|
||||||
to_hex(
|
to_hex(theme.background.component.disabled)
|
||||||
theme
|
|
||||||
.background
|
|
||||||
.component.disabled
|
|
||||||
)
|
|
||||||
),
|
),
|
||||||
status_bar_background: format!("#{}", to_hex(theme.background.base)),
|
status_bar_background: format!("#{}", to_hex(theme.background.base)),
|
||||||
status_bar_no_folder_background: format!("#{}", to_hex(theme.background.base)),
|
status_bar_no_folder_background: format!("#{}", to_hex(theme.background.base)),
|
||||||
|
|
@ -203,15 +198,7 @@ impl From<Theme> for VsTheme {
|
||||||
tab_active_border: format!("#{}", to_hex(theme.accent.base)),
|
tab_active_border: format!("#{}", to_hex(theme.accent.base)),
|
||||||
tab_active_border_top: format!("#{}", to_hex(theme.accent.base)),
|
tab_active_border_top: format!("#{}", to_hex(theme.accent.base)),
|
||||||
tab_hover_background: format!("#{}", to_hex(theme.primary.component.hover)),
|
tab_hover_background: format!("#{}", to_hex(theme.primary.component.hover)),
|
||||||
tab_inactive_background: format!(
|
tab_inactive_background: format!("#{}", to_hex(theme.primary.component.base)),
|
||||||
"#{}",
|
|
||||||
to_hex(
|
|
||||||
theme
|
|
||||||
.primary
|
|
||||||
.component
|
|
||||||
.base
|
|
||||||
)
|
|
||||||
),
|
|
||||||
quick_input_background: format!("#{}", to_hex(theme.primary.base)),
|
quick_input_background: format!("#{}", to_hex(theme.primary.base)),
|
||||||
side_bar_section_header_background: format!("#{}", to_hex(theme.primary.base)),
|
side_bar_section_header_background: format!("#{}", to_hex(theme.primary.base)),
|
||||||
banner_background: format!("#{}", to_hex(theme.primary.base)),
|
banner_background: format!("#{}", to_hex(theme.primary.base)),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue