summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/progress_bar.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crates/material_theme/src/progress_bar.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/material_theme/src/progress_bar.rs b/crates/material_theme/src/progress_bar.rs
index f686fff..9b4e844 100644
--- a/crates/material_theme/src/progress_bar.rs
+++ b/crates/material_theme/src/progress_bar.rs
@@ -18,9 +18,9 @@ impl Catalog for Theme {
pub fn default(theme: &Theme) -> Style {
Style {
background: Background::Color(
- theme.colorscheme.secondary.secondary_container,
+ theme.colors().secondary.secondary_container,
),
- bar: Background::Color(theme.colorscheme.primary.color),
+ bar: Background::Color(theme.colors().primary.color),
border: border::rounded(400),
}
}