Skip to content

Commit

Permalink
Menus are now fully themed !
Browse files Browse the repository at this point in the history
  • Loading branch information
flarive committed Nov 2, 2023
1 parent f64e8ac commit cec73f6
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 336 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>0.7.0</Version>
<Version>0.8.0</Version>
<Title>Neumorphism.Avalonia</Title>
<Authors>Eviral</Authors>
<Company>Eviral</Company>
Expand Down
4 changes: 2 additions & 2 deletions Avalonia.Themes.Neumorphism/Themes/Menu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
HorizontalAlignment="Center"
KeyboardNavigation.TabNavigation="Continue" />
</Border>
<Rectangle Name="PART_Stroke" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="1" Fill="#ffd1d6dc"/>
<Rectangle Name="PART_Stroke" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="1" Fill="{DynamicResource MaterialDesignBorderShadowColor}"/>
</Panel>
</ControlTemplate>
</Setter>
Expand Down Expand Up @@ -144,7 +144,7 @@
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Height" Value="48"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="BorderBrush" Value="{DynamicResource MenuFlyoutPresenterBorderBrush}"/>
<Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignBorderShadowColor}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="ItemContainerTheme" Value="{StaticResource MenuCapsuleBarFlatMenuItem}" />
</ControlTheme>
Expand Down
2 changes: 1 addition & 1 deletion Avalonia.Themes.Neumorphism/Themes/MenuItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
IsLightDismissEnabled="False"
IsOpen="{TemplateBinding IsSubMenuOpen, Mode=TwoWay}">
<Border Name="PART_PopupBorder"
Background="{DynamicResource MenuFlyoutPresenterBackground}"
Background="{DynamicResource MaterialDesignPaper}"
BorderBrush="{TemplateBinding assist:MenuAssist.PopupBorderBrush}"
BorderThickness="{TemplateBinding assist:MenuAssist.PopupBorderThickness}"
Padding="{DynamicResource MenuFlyoutPresenterThemePadding}"
Expand Down
26 changes: 0 additions & 26 deletions Neumorphism.Avalonia.Demo/Dialogs/DialogResult.cs

This file was deleted.

14 changes: 0 additions & 14 deletions Neumorphism.Avalonia.Demo/Dialogs/Enums/DialogButtonsEnum.cs

This file was deleted.

20 changes: 0 additions & 20 deletions Neumorphism.Avalonia.Demo/Dialogs/Enums/TextFieldKindEnum.cs

This file was deleted.

82 changes: 0 additions & 82 deletions Neumorphism.Avalonia.Demo/Dialogs/Icons/DialogIcon.cs

This file was deleted.

14 changes: 0 additions & 14 deletions Neumorphism.Avalonia.Demo/Dialogs/Icons/DialogIconKind.cs

This file was deleted.

79 changes: 0 additions & 79 deletions Neumorphism.Avalonia.Demo/Dialogs/Icons/DialogIconsDataFactory.cs

This file was deleted.

7 changes: 0 additions & 7 deletions Neumorphism.Avalonia.Demo/Dialogs/Interfaces/IDialogResult.cs

This file was deleted.

14 changes: 0 additions & 14 deletions Neumorphism.Avalonia.Demo/Dialogs/Interfaces/IDialogWindow.cs

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit cec73f6

Please sign in to comment.