mirror of
https://github.com/material-components/material-web.git
synced 2024-10-05 17:48:16 +03:00
fix(checkbox): sass theme mixin not working
Fixes #5651 PiperOrigin-RevId: 645076669
This commit is contained in:
parent
c1d585db2d
commit
46d66ed9d1
@ -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.';
|
||||
|
Loading…
Reference in New Issue
Block a user