feat(system): scale variants can be generated dynamically

This commit is contained in:
Junior Garcia 2022-10-27 01:07:46 -03:00
parent b95a4942f6
commit d1e9bc4894
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ const userTheme = createTheme({
type: "light",
className: "user-theme",
media: {
// xsMax: "(min-width: 320px) and (max-width: 540px)",
xsMax: "(min-width: 320px) and (max-width: 540px)",
p1: "(min-width: 0px) and (max-width: 320px)",
},
utils: {

View File

@ -11,7 +11,7 @@ type CSSProperties = Stitches.CSSProperties;
* dynamically based on the tokens defined in the theme.
*
* @example
* getVariant("fonts", "fontFamily")
* getVariants("fonts", "fontFamily")
*
* // returns
* {