From ff7e17988d5868c72cfb39d09ccf4efb05d3ceda Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 22 Nov 2025 08:30:00 +0100 Subject: feat!: combine `Primary`, `Secondary`, `Tertiary` and `Error` Now only a singular `ColorQuartet` struct exists. Also rename some `Surface` and `Inverse` fields for consistency. --- src/pane_grid.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pane_grid.rs') 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, }, } -- cgit v1.2.3