exposed --songProgressColor and --songProgressBackground
This commit is contained in:
parent
b7418b9651
commit
db89ab7a60
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
--keyColor-disabled: rgba(250, 88, 106, 0.35);
|
||||
--navigationBarHeight: 38px;
|
||||
--modalBackground: #262626;
|
||||
--songProgressColor: var(--keyColor);
|
||||
--songProgressBackground: #333;
|
||||
--textColor: #eee;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue