[Fix] Set default chart text color (#3048)
* fix: set default chart text white when darkMode else black
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -843,6 +843,7 @@ window.windowMixin = {
|
|||||||
? this.$q.localStorage.getItem('lnbits.darkMode')
|
? this.$q.localStorage.getItem('lnbits.darkMode')
|
||||||
: true
|
: true
|
||||||
)
|
)
|
||||||
|
Chart.defaults.color = this.$q.dark.isActive ? '#fff' : '#000'
|
||||||
this.changeTheme(this.themeChoice)
|
this.changeTheme(this.themeChoice)
|
||||||
this.applyBorder()
|
this.applyBorder()
|
||||||
if (this.$q.dark.isActive) {
|
if (this.$q.dark.isActive) {
|
||||||
|
|||||||
Reference in New Issue
Block a user