Replies: 1 comment
-
Assuming that instance of the tooltip (for example) has inverse styling in all contexts can you just use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have two themes -
light
anddark
, but some components should be in the opposite theme (for example, a tooltip in light theme usually has a dark background and in dark theme should have a light background).Right now,, I use the class theme and assuming light and dark themes, I can add the
dark
class name to indicate that I want the component to be in dark theme but instead, I want to useopposite-theme
class (name TBD) to indicate that in light theme, I want it to bedark
and in dark theme I want it to belight
.Is there a way to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions