(tokens) add breakpoints tokens

We need those to be able to make components responsive.
This commit is contained in:
Nathan Vasse
2023-12-08 12:13:54 +01:00
committed by NathanVss
parent 7ddcfeb4bc
commit 5e3deb2399
2 changed files with 11 additions and 1 deletions

View File

@@ -82,6 +82,15 @@ const transitions = {
duration: "250ms",
};
const breakpoints = {
xs: 0,
sm: "576px",
md: "768px",
lg: "992px",
xl: "1200px",
xxl: "1400px",
};
const defaultTheme = {
theme: {
colors: {
@@ -101,6 +110,7 @@ const defaultTheme = {
},
spacings,
transitions,
breakpoints,
},
};