Allow for nested themes #956
Answered
by
joseDaKing
joseDaKing
asked this question in
Ideas
-
Allow for nested themes, It would allow for logical grouping and it should not be used with theme mapping. |
Beta Was this translation helpful? Give feedback.
Answered by
joseDaKing
Feb 19, 2022
Replies: 1 comment
-
It would be nice if it is supported but it is unnecessary because I can group the team vars manually const { theme: vars } = createStitches(...);
const theme = {
color: {
primary: {
1: theme["primary-1"],
2: theme["primary-2"],
3: theme["primary-3"],
....
}
....
},
...
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joseDaKing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if it is supported but it is unnecessary because I can group the team vars manually