mirror of
https://github.com/material-components/material-web.git
synced 2024-09-21 02:27:12 +03:00
chore(menusurface): update to use local custom properties
PiperOrigin-RevId: 485660041
This commit is contained in:
parent
70a9bde8d4
commit
a1943be23a
@ -48,11 +48,17 @@ $light-theme: (
|
||||
$theme: theme.validate-theme-styles($light-theme, $theme);
|
||||
$theme: theme.create-theme-vars($theme, $_custom-property-prefix);
|
||||
|
||||
& {
|
||||
@each $token, $value in $theme {
|
||||
--_#{$token}: #{$value};
|
||||
}
|
||||
}
|
||||
|
||||
@include elevation-theme.theme-styles(
|
||||
(
|
||||
shadow: map.get($theme, 'container-elevation-shadow'),
|
||||
shadow: var(--_container-elevation-shadow),
|
||||
)
|
||||
);
|
||||
|
||||
border-radius: map.get($theme, 'container-shape');
|
||||
border-radius: var(--_container-shape);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user