Skip to content

Commit

Permalink
Merge pull request #920 from unoplatform/dev/sb/muxc-fluent-override
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 authored Aug 30, 2023
2 parents e188a5c + 44fbdd1 commit d7618d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Uno.Gallery/Uno.Gallery.Shared/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<!-- Load WinUI resources -->
<!-- Load these resources after the Material/Cupertino resources. This ensures that the default Fluent styles will be used as the implicit styles. -->
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<ResourceDictionary Source="Views/Styles/FluentOverrides.xaml" />

<!-- Application's custom styles -->
<ResourceDictionary Source="Views/Colors.xaml" todo:note="define some colors\brushes, and images resources; not for color overriding" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls">
<!-- uno issue: 13398 -->
<!-- This ensures that the default Fluent styles for these controls will be used as the implicit styles -->
<!-- The implicit Fluent styles here are not included in the XamlControlsResources res-dict -->
<Style TargetType="muxc:PipsPager" />
<Style TargetType="muxc:ProgressRing" />
<Style TargetType="muxc:ProgressBar" />
</ResourceDictionary>

0 comments on commit d7618d6

Please sign in to comment.