[Fix] Set default chart text color (#3048)

* fix: set default chart text
white when darkMode else black
This commit is contained in:
Tiago Vasconcelos 2025-03-12 16:36:11 +00:00 committed by GitHub
parent dc85f26964
commit adb9d24673
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -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) {