Skip to content

Commit

Permalink
Grammatical fixes to App.xaml (#3468)
Browse files Browse the repository at this point in the history
Reformatted comment lines to adhere to correct English grammar:
- Included some colons 
- Changed 'setup' (a noun) to 'set up' (a verb)
- 'built-in' is hyphenated
- 'as well' is not needed when existing sentence has the word 'also'
  • Loading branch information
ion-mironov committed Feb 25, 2024
1 parent 970acf3 commit 264b4f0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions MainDemo.Wpf/App.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Application x:Class="MaterialDesignDemo.App"
<Application x:Class="MaterialDesignDemo.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
Expand All @@ -11,24 +11,24 @@
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!-- This is the current way to setup your app's initial theme -->
<!-- This is the current way to set up your app's initial theme -->
<materialDesign:BundledTheme BaseTheme="Inherit"
ColorAdjustment="{materialDesign:ColorAdjustment}"
PrimaryColor="DeepPurple"
SecondaryColor="Lime" />

<!-- If you would prefer to use your own colors there is an option for that as well -->
<!-- If you would prefer to use your own colors, there is an option for that as well: -->
<!--<materialDesign:CustomColorTheme BaseTheme="Light" PrimaryColor="Aqua" SecondaryColor="DarkGreen" />-->

<!-- You can also use the built in theme dictionaries as well -->
<!-- You can also use the built-in theme dictionaries: -->
<!--
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Secondary/MaterialDesignColor.Lime.xaml" />
-->


<!-- NB: For anyone migrating and not wanting to update your brushes you will want this resource dictionary for old brush names -->
<!-- NB: If you're migrating and not wanting to update your brushes, you will want this resource dictionary for the old brush names: -->
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ObsoleteBrushes.xaml" />

<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml" />
Expand Down Expand Up @@ -132,5 +132,3 @@
</ResourceDictionary>
</Application.Resources>
</Application>


0 comments on commit 264b4f0

Please sign in to comment.