From cc5486ea84d9383e4fc0e2ba1dfbc24e1022788b Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Thu, 28 Nov 2024 14:45:06 +0100 Subject: [PATCH] fix(Theme): Shadow 25 wasn't in Mui theme --- react/MuiCozyTheme/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/MuiCozyTheme/helpers.js b/react/MuiCozyTheme/helpers.js index 933a46cd9e..ab89d07e7f 100644 --- a/react/MuiCozyTheme/helpers.js +++ b/react/MuiCozyTheme/helpers.js @@ -211,6 +211,6 @@ export const getFlagshipCssVar = position => * @returns {array} Array of Mui shadows */ export const makeShadows = (type, variant) => - [...Array(25)].map((_, index) => + [...Array(26)].map((_, index) => getCssVariableValue(`shadow${index}`, type, variant) )