diff --git a/lnbits/core/static/js/wallet.js b/lnbits/core/static/js/wallet.js index e95525ab6..d01910514 100644 --- a/lnbits/core/static/js/wallet.js +++ b/lnbits/core/static/js/wallet.js @@ -111,7 +111,6 @@ new Vue({ mixins: [windowMixin], data: function () { return { - user: LNbits.map.user(window.user), receive: { show: false, @@ -623,7 +622,6 @@ new Vue({ } }, created: function () { - this.fetchBalance() this.fetchPayments() @@ -637,7 +635,6 @@ new Vue({ }) }, mounted: function () { - // show disclaimer if ( this.$refs.disclaimer && diff --git a/lnbits/extensions/jukebox/templates/jukebox/index.html b/lnbits/extensions/jukebox/templates/jukebox/index.html index 0bdcc3f0c..ee572111e 100644 --- a/lnbits/extensions/jukebox/templates/jukebox/index.html +++ b/lnbits/extensions/jukebox/templates/jukebox/index.html @@ -6,7 +6,7 @@ Add Spotify Jukebox @@ -149,15 +149,15 @@
Continue - Continue + Continue
Cancel Submit keys - Submit keys
Cancel{% raw %}{{ locationcb }}{{ jukeboxDialog.data.sp_id }}{% endraw @@ -256,17 +256,17 @@
Authorise access - Authorise access
Cancel Create Jukebox - Create Jukebox + Create Jukebox
Cancel diff --git a/lnbits/static/js/base.js b/lnbits/static/js/base.js index 84a73b13f..ca30dfefe 100644 --- a/lnbits/static/js/base.js +++ b/lnbits/static/js/base.js @@ -307,14 +307,13 @@ window.windowMixin = { extensions: [], user: null, wallet: null, - payments: [], - + payments: [] } } }, - + methods: { - changeColor: function(newValue) { + changeColor: function (newValue) { document.body.setAttribute('data-theme', newValue) console.log(document.body.getAttribute('data-theme')) console.log(newValue) @@ -336,8 +335,11 @@ window.windowMixin = { }, created: function () { this.$q.dark.set(this.$q.localStorage.getItem('lnbits.darkMode')) - if (this.$q.localStorage.getItem('lnbits.theme')){ - document.body.setAttribute('data-theme', this.$q.localStorage.getItem('lnbits.theme')) + if (this.$q.localStorage.getItem('lnbits.theme')) { + document.body.setAttribute( + 'data-theme', + this.$q.localStorage.getItem('lnbits.theme') + ) } if (window.user) { this.g.user = Object.freeze(window.LNbits.map.user(window.user)) diff --git a/lnbits/static/scss/base.scss b/lnbits/static/scss/base.scss index 003b866c0..28a4735b9 100644 --- a/lnbits/static/scss/base.scss +++ b/lnbits/static/scss/base.scss @@ -25,7 +25,7 @@ $themes: ( ), 'flamingo': ( primary: #c64242, - secondary: #ff7474, + secondary: #cf5656, dark: #e75480, info: #ec7599, marginal-bg: #e75480, @@ -55,7 +55,8 @@ $themes: ( } } @if $name == 'info' { - [data-theme='#{$theme}'] .q-card--dark { + [data-theme='#{$theme}'] .q-card--dark, + [data-theme='#{$theme}'] .q-stepper--dark { background: $color !important; } }