summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/pane_grid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/material_theme/src/pane_grid.rs')
-rw-r--r--crates/material_theme/src/pane_grid.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/material_theme/src/pane_grid.rs b/crates/material_theme/src/pane_grid.rs
index d66e475..fb69a32 100644
--- a/crates/material_theme/src/pane_grid.rs
+++ b/crates/material_theme/src/pane_grid.rs
@@ -20,18 +20,18 @@ pub fn default(theme: &Theme) -> Style {
Style {
hovered_region: Highlight {
background: Background::Color(mix(
- theme.colorscheme.tertiary.tertiary_container,
- theme.colorscheme.surface.on_surface,
+ theme.colors().tertiary.tertiary_container,
+ theme.colors().surface.on_surface,
HOVERED_LAYER_OPACITY,
)),
border: border::rounded(12),
},
picked_split: Line {
- color: theme.colorscheme.outline.variant,
+ color: theme.colors().outline.variant,
width: 2.0,
},
hovered_split: Line {
- color: theme.colorscheme.surface.on_surface,
+ color: theme.colors().surface.on_surface,
width: 6.0,
},
}