summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/menu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/material_theme/src/menu.rs')
-rw-r--r--crates/material_theme/src/menu.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/material_theme/src/menu.rs b/crates/material_theme/src/menu.rs
index 9f43c72..d595c2f 100644
--- a/crates/material_theme/src/menu.rs
+++ b/crates/material_theme/src/menu.rs
@@ -17,7 +17,7 @@ impl Catalog for Theme {
}
pub fn default(theme: &Theme) -> Style {
- let colors = theme.colorscheme.surface;
+ let colors = theme.colors().surface;
Style {
border: border::rounded(4),