ux: improve macOS window control button colors for a more native look

This commit is contained in:
Chiahong Hong 2024-09-01 13:47:13 +08:00
parent ef9396bf57
commit 2b056ee644
No known key found for this signature in database
GPG key ID: 77021906D88E7150
15 changed files with 124 additions and 51 deletions

View file

@ -29,10 +29,10 @@
IsVisible="{OnPlatform True, macOS=False}"/>
<Grid Grid.Column="0" Classes="caption_button_box" Margin="2,4,0,0" IsVisible="{OnPlatform False, macOS=True}">
<Button Classes="caption_button_macos" Click="CloseWindow">
<Button Classes="caption_button_macos close" Click="CloseWindow">
<Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/>
<Path Height="6" Width="6" Stretch="Fill" Fill="#505050" Data="{StaticResource Icons.MacOS.Close}"/>
<Ellipse/>
<Path/>
</Grid>
</Button>
</Grid>