diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-11-22 08:30:00 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-11-22 08:30:00 +0100 |
| commit | ff7e17988d5868c72cfb39d09ccf4efb05d3ceda (patch) | |
| tree | 0734e0f409028e203532bfaea2c7372e2c646078 /src/progress_bar.rs | |
| parent | chore: add mailmap (diff) | |
| download | iced_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/progress_bar.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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), } |
