added accent color and window color tinting
- rearranged some of visual tab in settings - added advanced section to visual
This commit is contained in:
parent
11586b251c
commit
d0c2d6d36e
7 changed files with 156 additions and 91 deletions
|
@ -283,6 +283,17 @@ const app = new Vue({
|
|||
ipcRenderer.invoke("renderer-ready", true)
|
||||
document.querySelector("#LOADER").remove()
|
||||
},
|
||||
getAppStyle() {
|
||||
let finalStyle = {}
|
||||
if(this.cfg.visual.window_background_style === "color") {
|
||||
finalStyle["background-color"] = this.cfg.visual.windowColor
|
||||
}
|
||||
if(this.cfg.visual.customAccentColor) {
|
||||
finalStyle["--keyColor"] = this.cfg.visual.accentColor
|
||||
finalStyle["--songProgressColor"] = this.cfg.visual.accentColor
|
||||
}
|
||||
return finalStyle
|
||||
},
|
||||
setTimeout(func, time) {
|
||||
return setTimeout(func, time);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue