From 4e2ea4219501c16f0e74fcd2a5d48dca9845b3ee Mon Sep 17 00:00:00 2001 From: devthejo Date: Thu, 3 Jul 2025 17:53:40 +0200 Subject: [PATCH] fix: theming --- src/containers/PermissionWizard/HeroMode.js | 2 +- src/theme/app/Light.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/PermissionWizard/HeroMode.js b/src/containers/PermissionWizard/HeroMode.js index 5c23a08..13bf4e2 100644 --- a/src/containers/PermissionWizard/HeroMode.js +++ b/src/containers/PermissionWizard/HeroMode.js @@ -690,7 +690,7 @@ const useStyles = createStyles(({ wp, hp, scaleText, theme: { colors } }) => ({ color: colors.primary, }, batteryOptimizationAlert: { - backgroundColor: colors.errorContainer || colors.surfaceVariant, + backgroundColor: colors.surfaceVariant, padding: 15, borderRadius: 6, marginBottom: 15, diff --git a/src/theme/app/Light.js b/src/theme/app/Light.js index 0b9d536..0aebe6e 100644 --- a/src/theme/app/Light.js +++ b/src/theme/app/Light.js @@ -24,7 +24,7 @@ const ThemeLight = { error: "#fa5252", onError: "#ffffff", - errorContainer: "##fa5252", + errorContainer: "#fa5252", onErrorContainer: "#ffffff", warn: "#f59f00",