Skip to content

Conversation

CvX
Copy link
Contributor

@CvX CvX commented Mar 17, 2019

In a way this combines PRs #655 and #774. I've stumbled upon this use case when trying out the 1.0 beta:

module.exports = {
  theme: {
    colors: {
      red: 'red',
      green: 'green',
      blue: 'blue',
    },
    extend: {
      borderColor: theme => ({
        default: theme('colors.red'),
      }),
    },
  },
};

With 1.0.0-beta.2 you have to choose between using the extend section and having lazy evaluated value.

@adamwathan
Copy link
Member

Ah good catch, thanks!

@adamwathan adamwathan merged commit a4e896e into tailwindlabs:next Mar 18, 2019
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.

2 participants