diff --git a/src/components/ha-qr-code.ts b/src/components/ha-qr-code.ts index 47190c180c..59a9065249 100644 --- a/src/components/ha-qr-code.ts +++ b/src/components/ha-qr-code.ts @@ -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;