Skip to content

Commit

Permalink
fix(checkbox): sass theme mixin not working
Browse files Browse the repository at this point in the history
Fixes #5651

PiperOrigin-RevId: 645076669
  • Loading branch information
asyncLiz authored and copybara-github committed Jun 20, 2024
1 parent c1d585d commit 46d66ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkbox/internal/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $_indeterminate-bottom-left: 4px, -10px;
$_checkmark-bottom-left: 7px, -14px;

@mixin theme($tokens) {
$supported-tokens: $md-comp-checkbox-supported-tokens;
$supported-tokens: tokens.$md-comp-checkbox-supported-tokens;
@each $token, $value in $tokens {
@if list.index($supported-tokens, $token) == null {
@error 'Token `#{$token}` is not a supported token.';
Expand Down

0 comments on commit 46d66ed

Please sign in to comment.