theme signal editor bg

This commit is contained in:
Michael Kirk 2021-02-27 09:38:19 -08:00 committed by Dustin Carlino
parent 65f970a638
commit 2378da9731
2 changed files with 5 additions and 3 deletions

View File

@ -682,10 +682,11 @@ fn make_side_panel(
stage_btn,
]),
])
.padding(10);
.padding(10)
.bg(app.cs.inner_panel_bg);
if idx == selected {
col.push(stage_controls.bg(Color::hex("#2A2A2A")));
col.push(stage_controls.outline(2.0, ctx.style().outline_color));
} else {
col.push(stage_controls);
}

View File

@ -92,7 +92,7 @@ impl Style {
field_bg: hex("#F2F2F2"),
dropdown_border: hex("#4C4C4C"),
outline_thickness: 2.0,
outline_color: Color::WHITE,
outline_color: hex("#4C4C4C"),
loading_tips: Text::new(),
icon_fg: hex("#4C4C4C"),
text_fg_color: hex("#4C4C4C"),
@ -206,6 +206,7 @@ impl Style {
pub fn dark_bg() -> Style {
let mut style = Self::light_bg();
style.outline_color = Color::WHITE;
style.panel_bg = hex("#003046").alpha(0.9);
style.field_bg = style.panel_bg.shade(0.2);
style.btn_outline = ButtonStyle::outline_light_fg();