Skip to content

twin.macro: object null is not iterable #796

Closed Answered by ben-rogerson
vutpov asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for providing a repo to test.

The problem is the screen definition - you'll need define the screens as strings (the order of these matter too):

module.exports = {
  theme: {
    screens: {
      xs: "480px",
      sm: "768px",
      md: "1024px",
      lg: "1280px",
      xl: "1440px",
    },
  },
};

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vutpov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants