summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/rule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/material_theme/src/rule.rs')
-rw-r--r--crates/material_theme/src/rule.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/material_theme/src/rule.rs b/crates/material_theme/src/rule.rs
index e433005..36e4dd4 100644
--- a/crates/material_theme/src/rule.rs
+++ b/crates/material_theme/src/rule.rs
@@ -17,7 +17,7 @@ impl Catalog for Theme {
pub fn inset(theme: &Theme) -> Style {
Style {
- color: theme.colorscheme.outline.variant,
+ color: theme.colors().outline.variant,
fill_mode: FillMode::Padded(8),
width: 1,
radius: Radius::default(),
@@ -25,7 +25,7 @@ pub fn inset(theme: &Theme) -> Style {
}
pub fn full_width(theme: &Theme) -> Style {
Style {
- color: theme.colorscheme.outline.variant,
+ color: theme.colors().outline.variant,
fill_mode: FillMode::Full,
width: 1,
radius: Radius::default(),