Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference colors from tailwindcss/colors instead of defaultTheme #206

Merged
merged 2 commits into from Sep 30, 2021

Conversation

adamwathan
Copy link
Member

The color palette is slightly different in the upcoming Tailwind CSS v3 release, and the format of the default config file has changed to define colors as a function. This means referencing defaultTheme.colors doesn't work the way it did in v2, so this PR updates the typography plugin to pull the default colors directly from tailwindcss/colors instead.

@adamwathan adamwathan merged commit e2e0183 into master Sep 30, 2021
@adamwathan adamwathan deleted the fix-colors branch September 30, 2021 09:54
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.

None yet

1 participant