From 21b171245a6edfbec94ed9ed4699eb61b9fa1cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Thu, 8 Feb 2024 09:18:41 +0100 Subject: [PATCH] Use fixed colors for qr codes --- src/components/ha-qr-code.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;