Map FluentStyles to XamlControlsResources
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<Application
|
||||
x:Class="Builder.App"
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:style="using:FluentAvalonia.Styling">
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Application.Styles>
|
||||
<style:FluentAvaloniaTheme />
|
||||
<XamlControlsResources />
|
||||
<Style Selector="Button.Icon">
|
||||
<Setter Property="FontSize" Value="16" />
|
||||
<Setter Property="FontFamily" Value="{StaticResource SymbolThemeFontFamily}" />
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using FluentAvalonia.Styling;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using PropertyChanged;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview3" />
|
||||
<PackageReference Include="PropertyChanged.Fody" Version="4.0.5" />
|
||||
<PackageReference Include="XamlNameReferenceGenerator" Version="1.3.4" />
|
||||
<PackageReference Include="FluentAvaloniaUI" Version="2.0.0-preview3" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Framework\Avalonia\Avalonia.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user