mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Basic colors of bar changed to var()s
This commit is contained in:
parent
cf45233b30
commit
1179ccd722
1 changed files with 7 additions and 3 deletions
|
@ -479,12 +479,16 @@ export default {
|
||||||
overflowMenuButtons.push("open_new_tab");
|
overflowMenuButtons.push("open_new_tab");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.documentElement.style.setProperty('--player-base', 'rgba(255, 255, 255, 0.3)');
|
||||||
|
document.documentElement.style.setProperty('--player-buffered', 'rgba(255, 255, 255, 0.54)');
|
||||||
|
document.documentElement.style.setProperty('--player-played', 'rgb(255, 0, 0)');
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
overflowMenuButtons: overflowMenuButtons,
|
overflowMenuButtons: overflowMenuButtons,
|
||||||
seekBarColors: {
|
seekBarColors: {
|
||||||
base: "rgba(255, 255, 255, 0.3)",
|
base: "var(--player-base)",
|
||||||
buffered: "rgba(255, 255, 255, 0.54)",
|
buffered: "var(--player-buffered)",
|
||||||
played: "rgb(255, 0, 0)",
|
played: "var(--player-played)",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue