mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix direct reference to mui theme
This commit is contained in:
parent
9b635ca497
commit
2c0efd51c8
2 changed files with 13 additions and 7 deletions
|
@ -5,7 +5,6 @@ import React, { useCallback } from 'react';
|
|||
|
||||
import Page from 'components/Page';
|
||||
import globalize from 'scripts/globalize';
|
||||
import theme from 'themes/theme';
|
||||
import { DisplayPreferences } from './DisplayPreferences';
|
||||
import { ItemDetailPreferences } from './ItemDetailPreferences';
|
||||
import { LibraryPreferences } from './LibraryPreferences';
|
||||
|
@ -80,11 +79,7 @@ export default function UserDisplayPreferences() {
|
|||
|
||||
<Button
|
||||
type='submit'
|
||||
sx={{
|
||||
color: theme.palette.text.primary,
|
||||
fontSize: theme.typography.htmlFontSize,
|
||||
fontWeight: theme.typography.fontWeightBold
|
||||
}}
|
||||
size='large'
|
||||
>
|
||||
{globalize.translate('Save')}
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue