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

Visited classes are not generated #7441

Closed
devcustrom opened this issue Feb 13, 2022 · 1 comment · Fixed by #7458
Closed

Visited classes are not generated #7441

devcustrom opened this issue Feb 13, 2022 · 1 comment · Fixed by #7458

Comments

@devcustrom
Copy link

Visited classes are not generated

Reproduction

@thecrypticace
Copy link
Contributor

Hey, thanks for the reproduction! The core issue here is that these utilities have --tw-text-opacity variables which are used in the color. The browser places fairly strict limitations on what can be styled using :visited and how. In this case using a variable at all caused it to be thrown out / ignored. I fixed this in #7458 but it's likely it won't fix all the issues you encounter because of the browser limitations which are outside of our control.

A release should be going out soon (probably tomorrow). In the mean time you can disable the textOpacity plugin for your use case as long as you're not using the legacy text-opacity-{number} utilities:

module.exports = {
  corePlugins: {
    textOpacity: false,
  }
}

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 a pull request may close this issue.

2 participants