We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd48467 commit ec6fd1cCopy full SHA for ec6fd1c
core/scripts/testing/scripts.js
@@ -67,8 +67,8 @@
67
let paletteName = paletteQuery?.[1] || paletteHash?.[1] || highContrastDarkClass || darkClass || highContrastClass || 'light';
68
69
if (!validPalettes.includes(paletteName)) {
70
+ console.warn(`Invalid palette name: '${paletteName}'. Falling back to 'light' palette.`);
71
paletteName = 'light';
- console.warn(`Invalid palette name: ${paletteName}. Falling back to 'light' palette.`);
72
}
73
74
if (paletteName !== 'light') {
0 commit comments