Skip to content

Conversation

@thecrypticace
Copy link
Contributor

The following would not produce any CSS for inset-0 because it's 0 and not '0':

module.exports = {
  theme: {
    inset: {
      0: 0,
    },
  },
  plugins: [],
}

This fixes that.

cc @adamwathan @RobinMalfait

@thecrypticace thecrypticace force-pushed the fix/falsy-theme-values branch from dc8f3f0 to 9945f60 Compare January 5, 2022 21:31
@thecrypticace thecrypticace merged commit 82f163d into tailwindlabs:master Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant