Replies: 1 comment
-
Hey! That would work with a custom Another solution would be to use a little JS to dynamically toggle 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.
-
Hi,
Scenario: We would like to change/disable the borderradius for elements like containers and buttons (etc.) based on a flag in the backend.
What is the best way to change borderradius on the fly for all items that have a certain class?
I think it can work similar to the dark mode feature:
(https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually)
Is this the best approach?
Any hint would be very helpful.
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions