Skip to content
Discussion options

You must be logged in to vote

As per the documentation, use theme.colors instead of theme.extend.colors:

module.exports = {
  theme: {
    colors: {
      transparent: 'transparent',
      current: 'currentColor',
      foo: {
        // …
      },
      bar: {
        // …
      },
      baz: {
        // …
      },
    },
  },
};

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CarelessCourage
Comment options

Answer selected by CarelessCourage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants