Skip to content

Commit

Permalink
feat: update RemixIcon to v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Apr 26, 2024
1 parent 0506708 commit eaa4e58
Show file tree
Hide file tree
Showing 13 changed files with 5,777 additions and 4,654 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -54,7 +54,7 @@ This `IconPacks` library contains controls, markup extensions and converters to
| [PICOL Icons](https://github.com/PicolSigns/Icons) | 1.1.0 | 549 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.PicolIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.PicolIcons.svg?style=flat-square&&label=PicolIcons"></a> |
| [Pixelarticons Free](https://pixelarticons.com/) | 1.7.0 | 480 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.PixelartIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.PixelartIcons.svg?style=flat-square&&label=PixelartIcons"></a> |
| [Radix Icons](https://icons.modulz.app/) | 1.0.3 | 312 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RadixIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RadixIcons.svg?style=flat-square&&label=RadixIcons"></a> |
| [Remix Icon](https://remixicon.com/) | 2.5.0 | 2271 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RemixIcon/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RemixIcon.svg?style=flat-square&&label=RemixIcon"></a> |
| [Remix Icon](https://remixicon.com/) | 4.2.0 | 2850 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RemixIcon/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RemixIcon.svg?style=flat-square&&label=RemixIcon"></a> |
| [RPG Awesome](https://nagoshiashumari.github.io/Rpg-Awesome/) | 0.2.0 | 495 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RPGAwesome/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RPGAwesome.svg?style=flat-square&&label=RPGAwesome"></a> |
| [Simple Icons](https://simpleicons.org/) | 7.14.0 | 2379 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.SimpleIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.SimpleIcons.svg?style=flat-square&&label=SimpleIcons"></a> |
| [Typicons](https://www.s-ings.com/typicons/) | 2.1.2 | 336 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.Typicons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.Typicons.svg?style=flat-square&&label=Typicons"></a> |
Expand Down
Expand Up @@ -10,7 +10,7 @@
namespace MahApps.Metro.IconPacks
{
/// <summary>
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon/blob/master/License</cref></see>)
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon?tab=Apache-2.0-1-ov-file#readme</cref></see>)
/// Contributions, corrections and requests can be made on GitHub <see><cref>https://github.com/Remix-Design/RemixIcon</cref></see>.
/// </summary>
[MetaData("Remix Icon", "https://remixicon.com/", "https://github.com/Remix-Design/RemixIcon/blob/master/License")]
Expand Down
5,121 changes: 2,850 additions & 2,271 deletions src/MahApps.Metro.IconPacks/Icons/RemixIcon/PackIconRemixIconDataFactory.cs

Large diffs are not rendered by default.

Expand Up @@ -34,11 +34,5 @@ protected override string GetPathData(object iconKind)
}
return data;
}

/// <inheritdoc />
protected override ScaleTransform GetScaleTransform(object iconKind)
{
return new ScaleTransform(1, -1);
}
}
}
5,123 changes: 2,851 additions & 2,272 deletions src/MahApps.Metro.IconPacks/Icons/RemixIcon/PackIconRemixIconKind.cs

Large diffs are not rendered by default.

@@ -1,6 +1,4 @@
using System.Windows.Media;

namespace MahApps.Metro.IconPacks.Converter
namespace MahApps.Metro.IconPacks.Converter
{
public class PackIconRemixIconKindToImageConverter : PackIconKindToImageConverterBase
{
Expand All @@ -14,11 +12,5 @@ protected override string GetPathData(object iconKind)
}
return data;
}

/// <inheritdoc />
protected override ScaleTransform GetScaleTransform(object iconKind)
{
return new ScaleTransform(1, -1);
}
}
}
Expand Up @@ -8,7 +8,7 @@
namespace MahApps.Metro.IconPacks
{
/// <summary>
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon/blob/master/License</cref></see>)
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon?tab=Apache-2.0-1-ov-file#readme</cref></see>)
/// Contributions, corrections and requests can be made on GitHub <see><cref>https://github.com/Remix-Design/RemixIcon</cref></see>.
/// </summary>
[MetaData("Remix Icon", "https://remixicon.com/", "https://github.com/Remix-Design/RemixIcon/blob/master/License")]
Expand Down Expand Up @@ -36,9 +36,6 @@ public PackIconRemixIconKind Kind

public PathIconRemixIcon()
{
var transformGroup = this.RenderTransform as TransformGroup ?? new TransformGroup();
var scaleTransform = new ScaleTransform() {ScaleY = -1};
transformGroup.Children.Insert(0, scaleTransform);
}

protected override void UpdateData()
Expand Down

0 comments on commit eaa4e58

Please sign in to comment.