Text color invert on background color #15423
Unanswered
jacob-kerber
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an absolute div that has a transparent background with a blur effect. This div has a line of text that uses the primary color (using the theme selector in ShadCN) based on light or dark mode. Sometimes, there might be a dark section scroll behind this transparent blurred div that makes the text un-readable. How can I invert the whole or the portion of text that is over the dark background?
Here's the blur div snippit
Beta Was this translation helpful? Give feedback.
All reactions