Skip to content

Commit

Permalink
Fix Nuget Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPulman committed Mar 13, 2023
1 parent 952b8b5 commit 31b3648
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
<NoWarn>CS1591;IDE0190;IDE1006</NoWarn>
<Nullable>enable</Nullable>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Configurations>Debug;Release;PreRelease</Configurations>
<PackageReleaseNotes>Compatability with Net 6 / 7 and net462</PackageReleaseNotes>
<PackageTags>AppBarButton;WPF;UserControl;net;netstandard</PackageTags>
<PackageTags>AppBarButton;WPF;UserControl;net;MaterialDesignIcons</PackageTags>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>

Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ You can add your own icons by setting the IconData property with a suitable path

## Themes

The theme is a ResourceDictionary that is merged into the main ResourceDictionary. The default theme is `/AppBarButton.WPF;component/Themes/Generic.xaml`.
The theme is a ResourceDictionary that is merged into the main ResourceDictionary.
The default theme is `/AppBarButton.WPF;component/Themes/Generic.xaml`.
There is also a Light theme is `/AppBarButton.WPF;component/Themes/AppBarButton.Light.xaml`.
There is also a Dark theme is `/AppBarButton.WPF;component/Themes/AppBarButton.Dark.xaml`.

Create a new ResourceDictionary and merge it into the main ResourceDictionary based on the following:
## Custom Themes

You can create your own theme by creating a new ResourceDictionary and merging it into the main ResourceDictionary.
Create based on the following:

```xaml
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
Expand Down
2 changes: 1 addition & 1 deletion Version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.4.1",
"version": "0.4.2",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/main$"
Expand Down

0 comments on commit 31b3648

Please sign in to comment.