summaryrefslogtreecommitdiff
path: root/src/panes/style.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes/style.rs')
-rw-r--r--src/panes/style.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/panes/style.rs b/src/panes/style.rs
index df21a04..f2e3251 100644
--- a/src/panes/style.rs
+++ b/src/panes/style.rs
@@ -6,8 +6,8 @@ pub fn title_bar(theme: &Theme) -> Style {
let surface = theme.colors().surface;
Style {
- text_color: Some(surface.on_surface),
- background: Some(Background::Color(surface.surface_container.high)),
+ text_color: Some(surface.text),
+ background: Some(Background::Color(surface.container.high)),
..Default::default()
}
}
@@ -16,10 +16,10 @@ pub fn pane_active(theme: &Theme) -> Style {
let surface = theme.colors().surface;
Style {
- background: Some(Background::Color(surface.surface_container.low)),
+ background: Some(Background::Color(surface.container.low)),
border: Border {
width: 1.0,
- color: surface.surface_container.high,
+ color: surface.container.high,
..Border::default()
},
..Default::default()
@@ -30,10 +30,10 @@ pub fn pane_focused(theme: &Theme) -> Style {
let surface = theme.colors().surface;
Style {
- background: Some(Background::Color(surface.surface_container.low)),
+ background: Some(Background::Color(surface.container.low)),
border: Border {
width: 2.0,
- color: surface.surface_container.high,
+ color: surface.container.high,
..Border::default()
},
..Default::default()