summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/pane_grid.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-28 10:56:49 +0200
committerpml68 <contact@pml68.dev>2025-04-28 10:56:49 +0200
commitdac7e82e0bff128097653fe05829b2d576fcdb2f (patch)
tree6f36736e79eecd6904933c6876af1df58e6b605b /crates/material_theme/src/pane_grid.rs
parentfeat(material_theme): implement `image::Catalog` (under feature flag) (diff)
downloadiced-builder-dac7e82e0bff128097653fe05829b2d576fcdb2f.tar.gz
refactor(material_theme)!: make `Theme` an enum with `Custom` variant
Diffstat (limited to '')
-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,
},
}