Minor styling improvements to the player
This commit is contained in:
@@ -90,9 +90,16 @@
|
||||
})
|
||||
};
|
||||
|
||||
const currentTheme = await getDynamicTheme();
|
||||
|
||||
document.documentElement.style.setProperty('--plyr-color-main', currentTheme['--primary']);
|
||||
document.documentElement.style.setProperty(
|
||||
'--plyr-color-main',
|
||||
(await getDynamicTheme())['--primary']
|
||||
'--plyr-menu-background',
|
||||
currentTheme['--secondary-container']
|
||||
);
|
||||
document.documentElement.style.setProperty(
|
||||
'--plyr-menu-color',
|
||||
currentTheme['--secondary-text']
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
.plyr--full-ui.plyr--video .plyr__control--overlaid {
|
||||
.plyr--full-ui.plyr--video .plyr__control--overlaid, .plyr__control {
|
||||
display: flex !important;
|
||||
}
|
||||
Reference in New Issue
Block a user