dark mode logo

This commit is contained in:
Čarodej
2022-03-15 18:03:28 +01:00
parent f6f4184fb2
commit aa5742dafa
20 changed files with 185 additions and 79 deletions

View File

@@ -349,7 +349,9 @@ const FunctionHelpers = {
? '/assets/payments/paystack-dark.svg'
: '/assets/payments/paystack.svg',
stripe: '/assets/payments/stripe.svg',
system: this.$getImage(store.getters.config.app_logo_horizontal),
system: store.getters.isDarkMode
? this.$getImage(store.getters.config.app_logo_horizontal_dark)
: this.$getImage(store.getters.config.app_logo_horizontal),
}[driver] || this.$getImage(store.getters.config.app_logo_horizontal)
)
}