Skip to content
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

Merged
merged 1 commit into from
May 25, 2024

Conversation

thornbill
Copy link
Member

@thornbill thornbill commented May 23, 2024

Changes

  • Adds support for themes for the ui using mui components (dashboard + experimental layout)

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 🤷‍♂️

Screenshot 2024-05-20 at 13-04-41 Activity

Issues
Part of #4815

@thornbill thornbill added the enhancement Improve existing functionality or small fixes label May 23, 2024
@thornbill thornbill added this to the v10.9.3 milestone May 23, 2024
@thornbill thornbill requested a review from a team as a code owner May 23, 2024 14:22
@@ -21,12 +19,10 @@ const RootApp = ({ history }: Readonly<{ history: History }>) => {
<QueryClientProvider client={queryClient}>
<ApiProvider>
<WebConfigProvider>
<ThemeProvider theme={theme}>
Copy link
Member Author

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.

Copy link

sonarcloud bot commented May 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@thornbill thornbill mentioned this pull request May 23, 2024
22 tasks
@thornbill thornbill added the stable backport Backport into the next stable release label May 23, 2024
Copy link
Member

@ferferga ferferga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thornbill thornbill merged commit 61976b8 into jellyfin:release-10.9.z May 25, 2024
10 checks passed
@thornbill thornbill deleted the mui-themes branch May 25, 2024 16:04
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label May 26, 2024
joshuaboniface pushed a commit that referenced this pull request May 26, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality or small fixes
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants