Skip to content

Commit

Permalink
style: Add standard breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeHeckel committed May 17, 2024
1 parent 0cfe0dc commit cc00ecf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/lib/stitches.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import { createStitches, CSS as StitchesCSS } from '@stitches/react';

const { config, css, getCssText, globalCss, keyframes, styled, theme } =
createStitches();
createStitches({
media: {
xs: '(min-width: 480px)',
sm: '(min-width: 640px)',
md: '(min-width: 768px)',
lg: '(min-width: 1024px)',
xl: '(min-width: 1280px)',
},
});

export type CSS = StitchesCSS<typeof config>;
export type { VariantProps } from '@stitches/react';
Expand Down

0 comments on commit cc00ecf

Please sign in to comment.