Skip to content

Avoid invalidConfigPath for function values #365

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

Merged
merged 1 commit into from
Jul 7, 2021

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