Use fixed colors for qr codes

This commit is contained in:
Thomas Lovén 2024-02-08 09:18:41 +01:00 committed by GitHub
parent abb014745a
commit 21b171245a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,8 +74,7 @@ export class HaQrCode extends LitElement {
margin: this.margin,
maskPattern: this.maskPattern,
color: {
light: computedStyles.getPropertyValue("--card-background-color"),
dark: computedStyles.getPropertyValue("--primary-text-color"),
light: #ffffffff,
},
}).catch((err) => {
this._error = err.message;