diff --git a/design-tokens/src/scripts/build-style-dictionary.js b/design-tokens/src/scripts/build-style-dictionary.js index 59cd157d4..5f46bc3c8 100644 --- a/design-tokens/src/scripts/build-style-dictionary.js +++ b/design-tokens/src/scripts/build-style-dictionary.js @@ -291,7 +291,7 @@ try { outputReferences: true, mediaQuery: parsedGlobal.breakpoint?.[mode] && - !['large', 'xlarge'].includes(mode) && + !['medium', 'large', 'xlarge'].includes(mode) && `max-width: ${numberToPixel( parsedGlobal.breakpoint[mode].$value, )}`,