Skip to content

Commit

Permalink
fix(button): incorrect theme custom properties
Browse files Browse the repository at this point in the history
Fixes #4095

PiperOrigin-RevId: 520367869
  • Loading branch information
asyncLiz authored and copybara-github committed Mar 29, 2023
1 parent acfdbb4 commit 1645987
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion button/lib/_outlined-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
);

@each $token, $value in $tokens {
--md-elevated-button-#{$token}: #{$value};
--md-outlined-button-#{$token}: #{$value};
}
}

Expand Down
2 changes: 1 addition & 1 deletion button/lib/_text-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}
}

Expand Down
2 changes: 1 addition & 1 deletion button/lib/_tonal-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
);

@each $token, $value in $tokens {
--md-elevated-button-#{$token}: #{$value};
--md-tonal-button-#{$token}: #{$value};
}
}

Expand Down

0 comments on commit 1645987

Please sign in to comment.