mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-14 19:02:46 +02:00
[Fix] Set default chart text color (#3048)
* fix: set default chart text white when darkMode else black
This commit is contained in:
parent
dc85f26964
commit
adb9d24673
2
lnbits/static/bundle.min.js
vendored
2
lnbits/static/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
@ -843,6 +843,7 @@ window.windowMixin = {
|
||||
? this.$q.localStorage.getItem('lnbits.darkMode')
|
||||
: true
|
||||
)
|
||||
Chart.defaults.color = this.$q.dark.isActive ? '#fff' : '#000'
|
||||
this.changeTheme(this.themeChoice)
|
||||
this.applyBorder()
|
||||
if (this.$q.dark.isActive) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user