[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 changed files with 2 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue