Merge branch 'develop' of https://github.com/ciderapp/Cider into develop

This commit is contained in:
vapormusic 2022-02-16 13:04:45 +07:00
commit cd6a5ac10d
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 max = this.mk.currentPlaybackDuration
let value = (val - min) / (max - min) * 100 let value = (val - min) / (max - min) * 100
return { 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) { async getRecursive(response) {

View file

@ -35,6 +35,8 @@
--keyColor-disabled: rgba(250, 88, 106, 0.35); --keyColor-disabled: rgba(250, 88, 106, 0.35);
--navigationBarHeight: 38px; --navigationBarHeight: 38px;
--modalBackground: #262626; --modalBackground: #262626;
--songProgressColor: var(--keyColor);
--songProgressBackground: #333;
--textColor: #eee; --textColor: #eee;
} }