Skip to content

Conversation

@choplin
Copy link
Contributor

@choplin choplin commented Jul 6, 2021

Pass validateConfigPath if a type of value equals to function. The purpose of this PR is to avoid unwanted warnings when we define theme values as functions in tailwind.config.js, which, for example, are required to define theme colors with opacity enabled. tailwindlabs/tailwindcss#2206 (comment)

Pass `validateConfigPath` if a type of value equals to `function`. The purpose of this commit is to avoid unwanted warnings when we define theme values as functions in tailwind.config.js, which, for example, are required to define theme colors with opacity enabled. tailwindlabs/tailwindcss#2206 (comment)
@bradlc
Copy link
Contributor

bradlc commented Jul 7, 2021

Nice catch, thank you!

@bradlc bradlc merged commit b09d484 into tailwindlabs:master Jul 7, 2021
@choplin choplin deleted the patch-1 branch July 9, 2021 05:02
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