feature: Default theme for new users (#2898)
This commit is contained in:
@@ -217,7 +217,7 @@
|
||||
style="text-decoration: none"
|
||||
:style="
|
||||
g.wallet && g.wallet.id === wallet.id
|
||||
? `border: 1px solid ${primaryColor}; width: 250px; text-decoration: none; cursor: pointer;`
|
||||
? `width: 250px; text-decoration: none; cursor: pointer;`
|
||||
: 'width: 250px; text-decoration: none; border: 0px; cursor: pointer;'
|
||||
"
|
||||
:class="{
|
||||
@@ -326,6 +326,11 @@
|
||||
const LNBITS_DENOMINATION = {{ LNBITS_DENOMINATION | tojson }}
|
||||
const LNBITS_VERSION = {{ LNBITS_VERSION | tojson }}
|
||||
const LNBITS_QR_LOGO = {{ LNBITS_QR_LOGO | tojson }}
|
||||
const USE_DEFAULT_REACTION = {{ USE_DEFAULT_REACTION | tojson }}
|
||||
const USE_DEFAULT_THEME = {{ USE_DEFAULT_THEME | tojson }}
|
||||
const USE_DEFAULT_BORDER = {{ USE_DEFAULT_BORDER | tojson }}
|
||||
const USE_DEFAULT_GRADIENT = {{ USE_DEFAULT_GRADIENT | lower | tojson }}
|
||||
const USE_DEFAULT_BGIMAGE = "{{ USE_DEFAULT_BGIMAGE or None | tojson }}"
|
||||
if (themes && themes.length) {
|
||||
window.allowedThemes = themes.map(str => str.trim())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user