Skip to content

Commit

Permalink
Migrate WPF package name
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxuang committed Nov 12, 2024
1 parent 1b9e715 commit 77414f1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion FluentIcons.Common/FluentIcons.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<InternalsVisibleTo Include="FluentIcons.Maui" />
<InternalsVisibleTo Include="FluentIcons.Uwp" />
<InternalsVisibleTo Include="FluentIcons.WinUI" />
<InternalsVisibleTo Include="FluentIcons.WPF" />
<InternalsVisibleTo Include="FluentIcons.Wpf" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Windows;

namespace FluentIcons.WPF;
namespace FluentIcons.Wpf;

public static class Extensions
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using FluentIcons.Common;
using FluentIcons.Common.Internals;

namespace FluentIcons.WPF;
namespace FluentIcons.Wpf;

public abstract class SymbolIconBase : FrameworkElement
{
Expand Down Expand Up @@ -37,12 +37,12 @@ protected static void OnSizePropertiesChanged(DependencyObject d, DependencyProp
public class SymbolIcon : SymbolIconBase
{
private static readonly Typeface _system = new(
new FontFamily(new Uri("pack://application:,,,/FluentIcons.WPF;component/"), "./Assets/#Fluent System Icons"),
new FontFamily(new Uri("pack://application:,,,/FluentIcons.Wpf;component/"), "./Assets/#Fluent System Icons"),
FontStyles.Normal,
FontWeights.Normal,
FontStretches.Normal);
private static readonly Typeface _seagull = new(
new FontFamily(new Uri("pack://application:,,,/FluentIcons.WPF;component/"), "./Assets/#Seagull Fluent Icons"),
new FontFamily(new Uri("pack://application:,,,/FluentIcons.Wpf;component/"), "./Assets/#Seagull Fluent Icons"),
FontStyles.Normal,
FontWeights.Normal,
FontStretches.Normal);
Expand Down
2 changes: 1 addition & 1 deletion FluentIcons.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentIcons.Uwp", "FluentIc
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentIcons.WinUI", "FluentIcons.WinUI\FluentIcons.WinUI.csproj", "{BCA0EB9E-A440-4294-9241-1CF2A1B3889E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentIcons.WPF", "FluentIcons.WPF\FluentIcons.WPF.csproj", "{A351E592-DB78-4BEE-8DB3-5B7CD7FE870C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentIcons.Wpf", "FluentIcons.Wpf\FluentIcons.Wpf.csproj", "{A351E592-DB78-4BEE-8DB3-5B7CD7FE870C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1AB4B495-5E45-400D-9535-90641016E8AD}"
ProjectSection(SolutionItems) = preProject
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A multi-framework control library of [fluentui-system-icons](https://github.com/
| [![FluentIcons.Maui](https://img.shields.io/nuget/v/FluentIcons.Maui?label=FluentIcons.Maui)](https://www.nuget.org/packages/FluentIcons.Maui) | [![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/maui.svg) MAUI 8](https://www.nuget.org/packages/Microsoft.Maui.Sdk/8.0.3) |
| [![FluentIcons.Uwp](https://img.shields.io/nuget/v/FluentIcons.Uwp?label=FluentIcons.Uwp)](https://www.nuget.org/packages/FluentIcons.Uwp) | ![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/windows-10.svg) UWP 10.0.10773 <br/> [![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/uno.svg) Uno.UI 5.4](https://www.nuget.org/packages/Uno.UI/5.4.22) |
| [![FluentIcons.WinUI](https://img.shields.io/nuget/v/FluentIcons.WinUI?label=FluentIcons.WinUI)](https://www.nuget.org/packages/FluentIcons.WinUI) | [![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/wasdk.svg) Windows App SDK 1.2](https://www.nuget.org/packages/Microsoft.WindowsAppSDK/1.2.221109.1) <br/> [![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/uno.svg) Uno.WinUI 5.4](https://www.nuget.org/packages/Uno.WinUI/5.4.22) |
| [![FluentIcons.WPF](https://img.shields.io/nuget/v/FluentIcons.WPF?label=FluentIcons.WPF)](https://www.nuget.org/packages/FluentIcons.WPF) | ![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/dotnet.svg) .NET Framework 4.6.2 <br/> ![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/dotnet.svg) .NET 6 |
| [![FluentIcons.Wpf](https://img.shields.io/nuget/v/FluentIcons.Wpf?label=FluentIcons.Wpf)](https://www.nuget.org/packages/FluentIcons.Wpf) | ![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/dotnet.svg) .NET Framework 4.6.2 <br/> ![](https://cdn.jsdelivr.net/gh/davidxuang/FluentIcons@static/assets/dotnet.svg) .NET 6 |

### Legacy

Expand All @@ -28,7 +28,7 @@ A multi-framework control library of [fluentui-system-icons](https://github.com/

```xml
<Window xmlns:ic="using:FluentIcons.WinUI">
<!-- or FluentIcons.Avalonia / FluentIcons.Avalonia.Fluent / FluentIcons.Maui / FluentIcons.WPF -->
<!-- or FluentIcons.Avalonia / FluentIcons.Avalonia.Fluent / FluentIcons.Maui / FluentIcons.Wpf -->
<ic:SymbolIcon Symbol="ArrowLeft" IsFilled="True" />
</Window>
```
Expand Down

0 comments on commit 77414f1

Please sign in to comment.