fix video player bg

This commit is contained in:
PhilReact 2025-06-21 23:27:26 +03:00
parent 302a0600a9
commit 48501d6f10
4 changed files with 4 additions and 4 deletions

View File

@ -608,7 +608,7 @@ export const VideoPlayer: FC<VideoPlayerProps> = ({
<ControlsContainer
sx={{
position: 'relative',
background: 'var(--bg-primary)',
background: 'var(--videoplayer-bg)',
width: '100%',
flexShrink: 0,
}}

View File

@ -78,6 +78,7 @@ const commonThemeOptions = {
paper: {
backgroundColor: 'background.paper',
color: 'text.primary',
backgroundImage: 'none',
},
},
},
@ -95,7 +96,6 @@ const commonThemeOptions = {
styleOverrides: {
root: {
backgroundColor: 'inherit',
color: 'inherit',
},
},
},

View File

@ -61,6 +61,7 @@ export const darkThemeOptions: ThemeOptions = {
'--background-default': theme.palette.background.default,
'--background-paper': theme.palette.background.paper,
'--background-surface': theme.palette.background.surface,
'--videoplayer-bg': 'rgba(31, 32, 35, 1)',
},
'*, *::before, *::after': {
@ -76,7 +77,6 @@ export const darkThemeOptions: ThemeOptions = {
padding: 0,
margin: 0,
wordBreak: 'break-word',
backgroundColor: 'var(--bg-primary)',
},
'::-webkit-scrollbar-track': {
backgroundColor: 'transparent',

View File

@ -62,6 +62,7 @@ export const lightThemeOptions: ThemeOptions = {
'--background-default': theme.palette.background.default,
'--background-paper': theme.palette.background.paper,
'--background-surface': theme.palette.background.surface,
'--videoplayer-bg': 'rgba(31, 32, 35, 1)',
},
'*, *::before, *::after': {
@ -77,7 +78,6 @@ export const lightThemeOptions: ThemeOptions = {
padding: 0,
margin: 0,
wordBreak: 'break-word',
backgroundColor: 'var(--bg-primary)',
},
'::-webkit-scrollbar-track': {