Skip to content

Commit

Permalink
Ensure array of token options for validations is up to date with corr…
Browse files Browse the repository at this point in the history
…ect scale
  • Loading branch information
marcellamaki committed Oct 25, 2024
1 parent b92c196 commit a693d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kolibri/core/assets/src/styles/themeSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function _brandColorScaleValidator(value) {
logging.error(`Expected object but got '${value}'`);
return false;
}
const COLOR_NAMES = ['v_200', 'v_400', 'v_500', 'v_600', 'v_800'];
const COLOR_NAMES = ['v_100', 'v_200', 'v_300', 'v_400', 'v_500', 'v_600'];
for (const colorName of COLOR_NAMES) {
if (!value[colorName]) {
logging.error(`${colorName} '${name}' not defined by theme`);
Expand Down

0 comments on commit a693d54

Please sign in to comment.