Check for theme params on the URL (#2678)

---------

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Tiago Vasconcelos
2024-09-24 11:44:07 +02:00
committed by GitHub
co-authored by dni ⚡
parent 9d7e54f6b2
commit daee2b3418
3 changed files with 65 additions and 17 deletions
-14
View File
@@ -80,20 +80,6 @@ window.app = Vue.createApp({
this.applyGradient()
}
},
setColors: function () {
this.$q.localStorage.set(
'lnbits.primaryColor',
LNbits.utils.getPaletteColor('primary')
)
this.$q.localStorage.set(
'lnbits.secondaryColor',
LNbits.utils.getPaletteColor('secondary')
)
this.$q.localStorage.set(
'lnbits.darkBgColor',
LNbits.utils.getPaletteColor('dark')
)
},
updateAccount: async function () {
try {
const {data} = await LNbits.api.request(