Implemented purple playback bar for Podcasts

- Added a settings toggle for it
- Added 1 language string to en_US and the i18n README
- Translated string to hu_HU
- Changed CSS background color for playback bar dot to songProgressColor
This commit is contained in:
Amaru8 2022-06-10 22:27:26 +02:00
parent 619a0b16ad
commit 574641ae74
7 changed files with 33 additions and 15 deletions

View file

@ -294,6 +294,8 @@ const app = new Vue({
if (this.cfg.visual.customAccentColor) {
finalStyle["--keyColor"] = this.cfg.visual.accentColor
finalStyle["--songProgressColor"] = this.cfg.visual.accentColor
} else if (this.cfg.visual.purplePodcastPlaybackBar && MusicKit.getInstance().nowPlayingItem?.type == "podcast-episodes") {
finalStyle["--songProgressColor"] = '#6929D0'
}
return finalStyle
},