Skip to content

Commit 4f9f3a7

Browse files
committed
chore(Themes): try to adjust Backgroundcolor of ViewHeaderTemplate
BUG: Removing the Background Color Theme, does now not longer update the Foreground of TextBlock? #13
1 parent 923c108 commit 4f9f3a7

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/DevTKSS.Uno.Samples.MvuxGallery/App.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</ResourceDictionary>
2020
</utum:MaterialToolkitTheme.FontOverrideDictionary> -->
2121
</utum:MaterialToolkitTheme>
22-
<ResourceDictionary Source="ms-appx:///Styles/Generic.xaml"/>
22+
<ResourceDictionary Source="ms-appx:///Styles/GalleryTemplates.xaml"/>
2323
</ResourceDictionary.MergedDictionaries>
2424

2525
<!-- Add resources here -->

src/DevTKSS.Uno.Samples.MvuxGallery/Presentation/Views/DashboardPage.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<mvux:FeedView.ValueTemplate>
3030
<DataTemplate>
3131
<GridView SelectedIndex="0"
32-
x:Name="ContentGridView"
3332
ItemsSource="{Binding Data}"
3433
ItemTemplate="{StaticResource StyledCardTemplate}"
3534
HeaderTemplate="{StaticResource ViewHeaderTemplate}"
@@ -71,4 +70,4 @@
7170

7271
</Expander>
7372
</Grid>
74-
</Page>
73+
</Page>

src/DevTKSS.Uno.Samples.MvuxGallery/Styles/Generic.xaml renamed to src/DevTKSS.Uno.Samples.MvuxGallery/Styles/GalleryTemplates.xaml

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

5757
<!--#region ListView and GridView Header Template binding to a FeedView to Refresh-->
5858
<DataTemplate x:Key="ViewHeaderTemplate" x:DataType="models:HeaderContent">
59-
<Grid Background="{ThemeResource SurfaceInverseBrush}"
59+
<Grid
6060
CornerRadius="10,10,0,0"
6161
Padding="10">
6262
<Grid.ColumnDefinitions>

src/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
</ItemGroup>
1313
<ItemGroup>
1414
<PackageVersion Include="Uno.Core.Extensions" Version="4.1.1" />
15-
<PackageVersion Include="Uno.Extensions.Storage" Version="6.0.12" />
15+
<PackageVersion Include="Uno.Extensions.Storage" Version="6.1.4" />
1616
</ItemGroup>
17-
</Project>
17+
</Project>

0 commit comments

Comments
 (0)