-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for user themes for mui components #5589
Conversation
@@ -21,12 +19,10 @@ const RootApp = ({ history }: Readonly<{ history: History }>) => { | |||
<QueryClientProvider client={queryClient}> | |||
<ApiProvider> | |||
<WebConfigProvider> | |||
<ThemeProvider theme={theme}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The theme provider had to be moved to have access to the useLocation
hook to be able to determine if the user is on a dashboard page.
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add support for user themes for mui components Original-merge: 61976b8 Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
Changes
Currently changing to a light theme (appletv or light) will produce white text on a white background
We can move this out if it is too big for a backport 🤷♂️
Issues
Part of #4815