Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(components): update get-token-value helper to error out at end of loop #5838

Merged
merged 8 commits into from
Apr 14, 2020
6 changes: 3 additions & 3 deletions packages/components/src/globals/scss/_component-tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ $enable-css-custom-properties: feature-flag-enabled('enable-css-custom-propertie
$value
)
}

@error 'Unable to find value for theme';
}

@error 'Unable to find matching theme value for token #{$name}';
}

@error 'Unable to find list';
@error 'Unable to find the token #{$name} in the given token list';
}