From 17d23d2aaca948486ab2c1093f87f40148b7987d Mon Sep 17 00:00:00 2001 From: Adam Chmara Date: Wed, 20 Nov 2024 16:35:49 +0100 Subject: [PATCH 1/2] fix(dashboard): light theme for new domain (#7090) --- apps/dashboard/src/context/opt-in-provider.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/dashboard/src/context/opt-in-provider.tsx b/apps/dashboard/src/context/opt-in-provider.tsx index e4762e565a9..0e8eb6f3b3c 100644 --- a/apps/dashboard/src/context/opt-in-provider.tsx +++ b/apps/dashboard/src/context/opt-in-provider.tsx @@ -10,6 +10,9 @@ export const OptInProvider = (props: PropsWithChildren) => { if (isLoaded && status !== NewDashboardOptInStatusEnum.OPTED_IN) { redirectToLegacyDashboard(); } + + // set light theme on the new domain for both legacy and new dashboard + localStorage.setItem('mantine-theme', 'light'); }, [status, redirectToLegacyDashboard, isLoaded]); return <>{children}; From 9eabc95161313a06276a01a185e1cd4476bc2ddd Mon Sep 17 00:00:00 2001 From: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:55:25 +0100 Subject: [PATCH 2/2] style(dashboard): Fix CSS variable formatting for `alert` (#7091) --- apps/dashboard/src/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/index.css b/apps/dashboard/src/index.css index f51d40bef27..374dbafedb3 100644 --- a/apps/dashboard/src/index.css +++ b/apps/dashboard/src/index.css @@ -66,7 +66,7 @@ --stable: 172 72% 48%; - --alert: 42, 92%, 54%, 1; + --alert: 42 92% 54%; --verified: 200 100% 64%;