You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ui.dark_mode is initially None, the page follows the system theme. However, when the system theme is dark, the plotly figure still uses the white theme because the value is None. How can I detect the actual theme?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Example Code
Description
Since ui.dark_mode is initially None, the page follows the system theme. However, when the system theme is dark, the plotly figure still uses the white theme because the value is None. How can I detect the actual theme?
NiceGUI Version
2.23.3
Python Version
3.13.5
Browser
Firefox
Operating System
macOS
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions