mistercrunch commented on code in PR #34560:
URL: https://github.com/apache/superset/pull/34560#discussion_r2270895396
##########
docs/docs/configuration/theming.mdx:
##########
@@ -62,12 +62,13 @@ THEME_DARK = {
}
}
-# Theme behavior settings
-THEME_SETTINGS = {
- "enforced": False, # If True, forces default theme always
- "allowSwitching": True, # Allow users to switch between themes
- "allowOSPreference": True, # Auto-detect system theme preference
-}
+# Enable UI-based theme administration for admins
+ENABLE_UI_THEME_ADMINISTRATION = True
+
+# To force a single theme on all users, set THEME_DARK = None
+# When both THEME_DEFAULT and THEME_DARK are defined:
+# - Users can manually switch between themes
+# - OS preference detection is automatically enabled
Review Comment:
@geido , spoke with @kasiazjc @yousoph and @sadpandajoe and we decided we
want to move forward with what's here for the 6.0 cut. Committed to fast-follow
and address any concerns you might have around embedded or theme configuration
in general
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]