aboutsummaryrefslogtreecommitdiff
path: root/src/pane_grid.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-11-22 08:30:00 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-11-22 08:30:00 +0100
commitff7e17988d5868c72cfb39d09ccf4efb05d3ceda (patch)
tree0734e0f409028e203532bfaea2c7372e2c646078 /src/pane_grid.rs
parentchore: add mailmap (diff)
downloadiced_material-ff7e17988d5868c72cfb39d09ccf4efb05d3ceda.tar.gz
feat!: combine `Primary`, `Secondary`, `Tertiary` and `Error`
Now only a singular `ColorQuartet` struct exists. Also rename some `Surface` and `Inverse` fields for consistency.
Diffstat (limited to '')
-rw-r--r--src/pane_grid.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pane_grid.rs b/src/pane_grid.rs
index fb69a32..c89536e 100644
--- a/src/pane_grid.rs
+++ b/src/pane_grid.rs
@@ -20,8 +20,8 @@ pub fn default(theme: &Theme) -> Style {
Style {
hovered_region: Highlight {
background: Background::Color(mix(
- theme.colors().tertiary.tertiary_container,
- theme.colors().surface.on_surface,
+ theme.colors().tertiary.container,
+ theme.colors().surface.text,
HOVERED_LAYER_OPACITY,
)),
border: border::rounded(12),
@@ -31,7 +31,7 @@ pub fn default(theme: &Theme) -> Style {
width: 2.0,
},
hovered_split: Line {
- color: theme.colors().surface.on_surface,
+ color: theme.colors().surface.text,
width: 6.0,
},
}