fix(checkbox): sass theme mixin not working

Fixes #5651

PiperOrigin-RevId: 645076669
This commit is contained in:
Elizabeth Mitchell 2024-06-20 10:20:34 -07:00 committed by Copybara-Service
parent c1d585db2d
commit 46d66ed9d1

View File

@ -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.';