mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
fix(button): incorrect theme custom properties
Fixes #4095 PiperOrigin-RevId: 520370000
This commit is contained in:
parent
acfdbb4f92
commit
2c1c80d3d6
@ -21,7 +21,7 @@
|
||||
);
|
||||
|
||||
@each $token, $value in $tokens {
|
||||
--md-elevated-button-#{$token}: #{$value};
|
||||
--md-outlined-button-#{$token}: #{$value};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ $_custom-property-prefix: 'text-button';
|
||||
$tokens: theme.validate-theme(tokens.md-comp-text-button-values(), $tokens);
|
||||
|
||||
@each $token, $value in $tokens {
|
||||
--md-elevated-button-#{$token}: #{$value};
|
||||
--md-text-button-#{$token}: #{$value};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
);
|
||||
|
||||
@each $token, $value in $tokens {
|
||||
--md-elevated-button-#{$token}: #{$value};
|
||||
--md-tonal-button-#{$token}: #{$value};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user