From a693d549defd32741a13909ffddca89d65f91260 Mon Sep 17 00:00:00 2001 From: Marcella Maki Date: Fri, 25 Oct 2024 17:20:22 -0400 Subject: [PATCH] Ensure array of token options for validations is up to date with correct scale --- kolibri/core/assets/src/styles/themeSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kolibri/core/assets/src/styles/themeSpec.js b/kolibri/core/assets/src/styles/themeSpec.js index 3d74ec536a8..092f8e920ab 100644 --- a/kolibri/core/assets/src/styles/themeSpec.js +++ b/kolibri/core/assets/src/styles/themeSpec.js @@ -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`);