Skip to content

Commit f880031

Browse files
authored
[MAUI] Shell foreground and background color are no longer the same (#17)
1 parent 75922d8 commit f880031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Esri.Calcite.Maui/Resources/Styles/Styles.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514

515515
<Style TargetType="Shell" ApplyToDerivedTypes="True" x:Key="CalciteShellStyle">
516516
<Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={x:DynamicResource CalciteBrandLightColor}, Dark={x:DynamicResource CalciteBrandDarkColor}}" />
517-
<Setter Property="Shell.ForegroundColor" Value="{AppThemeBinding Light={x:DynamicResource CalciteBrandLightColor}, Dark={x:DynamicResource CalciteBrandDarkColor}}" />
517+
<Setter Property="Shell.ForegroundColor" Value="{OnPlatform Default=White, WinUI={AppThemeBinding Light={StaticResource CalciteTextInverseDarkColor}, Dark={StaticResource CalciteBackgroundLightColor}}}" />
518518
<Setter Property="Shell.TitleColor" Value="White" />
519519
<!--<Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />-->
520520
<Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource CalciteText3LightColor}, Dark={StaticResource CalciteText2DarkColor}}" />

0 commit comments

Comments
 (0)