Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show warning when
ui.dark_mode
breaks Tailwind (#3994)
As discussed in #3753, `ui.dark_mode` can break Tailwind styling if used on a page with `dark=None` ```py @ui.page('/', dark=None) def page(): ui.dark_mode(True) ui.label('This should be bordered').classes('border') ``` or with `ui.run(dark=None)`. This PR shows a warning in this situation. I won't link it with the issue because this isn't a proper fix.
- Loading branch information