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/progress_bar.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/progress_bar.rs') diff --git a/src/progress_bar.rs b/src/progress_bar.rs index 9b4e844..5e079ff 100644 --- a/src/progress_bar.rs +++ b/src/progress_bar.rs @@ -17,9 +17,7 @@ impl Catalog for Theme { pub fn default(theme: &Theme) -> Style { Style { - background: Background::Color( - theme.colors().secondary.secondary_container, - ), + background: Background::Color(theme.colors().secondary.container), bar: Background::Color(theme.colors().primary.color), border: border::rounded(400), } -- cgit v1.2.3