Skip to content

Commit

Permalink
refactor: use axaml
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Nov 5, 2024
1 parent 410dddb commit b936bc9
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<Styles.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<MergeResourceInclude Source="avares://IconPacks.Avalonia.BoxIcons/PackIconBoxIcons.xaml" />
<MergeResourceInclude Source="avares://IconPacks.Avalonia.BoxIcons/PackIconBoxIcons.axaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>

<StyleInclude Source="avares://IconPacks.Avalonia.Core/PackIcon.xaml" />
<StyleInclude Source="avares://IconPacks.Avalonia.Core/PackIcon.axaml" />
</Styles>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
</ItemGroup>

<ItemGroup>
<AvaloniaResource Include="**/*.xaml" />
<AvaloniaResource Include="Resources/**" />
</ItemGroup>

Expand Down
6 changes: 1 addition & 5 deletions src/IconPacks.Avalonia.Core/IconPacks.Avalonia.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
Expand All @@ -22,8 +22,4 @@
<PackageReference Include="System.Text.Json" />
</ItemGroup>

<ItemGroup>
<AvaloniaResource Include="**/*.xaml" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Styles.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<MergeResourceInclude Source="avares://IconPacks.Avalonia.Core/PackIconControlBase.xaml" />
<MergeResourceInclude Source="avares://IconPacks.Avalonia.Core/PackIconControlBase.axaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>
Expand Down
4 changes: 0 additions & 4 deletions src/IconPacks.Avalonia/IconPacks.Avalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,4 @@
<ProjectReference Include="..\IconPacks.Avalonia.BoxIcons\IconPacks.Avalonia.BoxIcons.csproj" />
</ItemGroup>

<ItemGroup>
<AvaloniaResource Include="**/*.xaml" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<Styles.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<MergeResourceInclude Source="avares://IconPacks.Avalonia/PackIconControl.xaml" />
<MergeResourceInclude Source="avares://IconPacks.Avalonia/PackIconControl.axaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Styles.Resources>

<StyleInclude Source="avares://IconPacks.Avalonia.Core/PackIcon.xaml" />
<StyleInclude Source="avares://IconPacks.Avalonia.BoxIcons/BoxIcons.xaml" />
<StyleInclude Source="avares://IconPacks.Avalonia.Core/PackIcon.axaml" />
<StyleInclude Source="avares://IconPacks.Avalonia.BoxIcons/BoxIcons.axaml" />
</Styles>
File renamed without changes.

0 comments on commit b936bc9

Please sign in to comment.