Skip to content

Commit 6e84be0

Browse files
committed
add missing max-width-screen-* utilities
1 parent 439041d commit 6e84be0

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,11 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
347347
--width-6xl: 72rem;
348348
--width-7xl: 80rem;
349349
--width-prose: 65ch;
350+
--max-width-screen-sm: 40rem;
351+
--max-width-screen-md: 48rem;
352+
--max-width-screen-lg: 64rem;
353+
--max-width-screen-xl: 80rem;
354+
--max-width-screen-2xl: 96rem;
350355
--font-family-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
351356
--font-family-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
352357
--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

packages/tailwindcss/src/__snapshots__/index.test.ts.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ exports[`compiling CSS > \`@tailwind utilities\` is replaced by utilities using
346346
--width-6xl: 72rem;
347347
--width-7xl: 80rem;
348348
--width-prose: 65ch;
349+
--max-width-screen-sm: 40rem;
350+
--max-width-screen-md: 48rem;
351+
--max-width-screen-lg: 64rem;
352+
--max-width-screen-xl: 80rem;
353+
--max-width-screen-2xl: 96rem;
349354
--font-family-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
350355
--font-family-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
351356
--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

packages/tailwindcss/theme.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,13 @@
365365
--width-7xl: 80rem;
366366
--width-prose: 65ch;
367367

368+
/* Max widths */
369+
--max-width-screen-sm: 40rem;
370+
--max-width-screen-md: 48rem;
371+
--max-width-screen-lg: 64rem;
372+
--max-width-screen-xl: 80rem;
373+
--max-width-screen-2xl: 96rem;
374+
368375
/* Fonts */
369376
--font-family-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
370377
'Segoe UI Symbol', 'Noto Color Emoji';

0 commit comments

Comments
 (0)