exposed --songProgressColor and --songProgressBackground

This commit is contained in:
booploops 2022-02-15 19:39:53 -08:00
parent b7418b9651
commit db89ab7a60
2 changed files with 3 additions and 1 deletions

View file

@ -1170,7 +1170,7 @@ const app = new Vue({
let max = this.mk.currentPlaybackDuration
let value = (val - min) / (max - min) * 100
return {
'background': ('linear-gradient(to right, var(--keyColor) 0%, var(--keyColor) ' + value + '%, #333 ' + value + '%, #333 100%)')
'background': ('linear-gradient(to right, var(--songProgressColor) 0%, var(--songProgressColor) ' + value + '%, var(--songProgressBackground) ' + value + '%, var(--songProgressBackground) 100%)')
}
},
async getRecursive(response) {