Skip to content

Allow for nested themes #956

Answered by joseDaKing
joseDaKing asked this question in Ideas
Discussion options

You must be logged in to vote

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"],
      ....
    }
    ....
  },
  ...
};

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joseDaKing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant