aboutsummaryrefslogtreecommitdiff
path: root/src/progress_bar.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/progress_bar.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 'src/progress_bar.rs')
-rw-r--r--src/progress_bar.rs4
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),
}