From 8fc680f106159326f2bfca0c5d16bad7d8e32109 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 19 May 2025 11:07:08 -0400 Subject: [PATCH] Fix AppBar background colors --- src/components/ElevationScroll.tsx | 2 +- src/themes/themes.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/ElevationScroll.tsx b/src/components/ElevationScroll.tsx index acbc07bae..920140c42 100644 --- a/src/components/ElevationScroll.tsx +++ b/src/components/ElevationScroll.tsx @@ -13,7 +13,7 @@ const ElevationScroll = ({ children, elevate = false }: { children: ReactElement const isElevated = elevate || trigger; return React.cloneElement(children, { - color: isElevated ? 'primary' : 'transparent', + color: isElevated ? 'default' : 'transparent', elevation: isElevated ? 4 : 0 }); }; diff --git a/src/themes/themes.ts b/src/themes/themes.ts index d6780dfda..edf16a9ac 100644 --- a/src/themes/themes.ts +++ b/src/themes/themes.ts @@ -57,6 +57,9 @@ const blueradiance = buildCustomColorScheme({ palette: { background: { paper: '#011432' + }, + AppBar: { + defaultBg: '#011432' } } }); @@ -89,6 +92,9 @@ const purplehaze = buildCustomColorScheme({ }, secondary: { main: '#ff77f1' + }, + AppBar: { + defaultBg: '#000420' } } }); @@ -98,6 +104,9 @@ const wmc = buildCustomColorScheme({ palette: { background: { paper: '#0c2450' + }, + AppBar: { + defaultBg: '#0c2450' } } });