mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
feat(system): scale variants can be generated dynamically
This commit is contained in:
parent
b95a4942f6
commit
d1e9bc4894
@ -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: {
|
||||
|
||||
@ -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
|
||||
* {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user