style<Window>: macOS caption button color

This commit is contained in:
leo 2024-02-19 11:44:38 +08:00
parent d9f566673e
commit 04d8e5d476
4 changed files with 6 additions and 6 deletions

View file

@ -26,7 +26,7 @@
<Button Classes="caption_button_macos" Click="CloseWindow"> <Button Classes="caption_button_macos" Click="CloseWindow">
<Grid> <Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/> <Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/>
<Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#804040" Data="{StaticResource Icons.MacOS.Close}"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>

View file

@ -28,7 +28,7 @@
<Button Classes="caption_button_macos" Click="CloseWindow"> <Button Classes="caption_button_macos" Click="CloseWindow">
<Grid> <Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/> <Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/>
<Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#804040" Data="{StaticResource Icons.MacOS.Close}"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>

View file

@ -12,19 +12,19 @@
<Button Classes="caption_button_macos" Click="CloseWindow" Margin="10,0,0,0"> <Button Classes="caption_button_macos" Click="CloseWindow" Margin="10,0,0,0">
<Grid> <Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/> <Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/>
<Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#404040" Data="{StaticResource Icons.MacOS.Close}"/>
</Grid> </Grid>
</Button> </Button>
<Button Classes="caption_button_macos" Click="MinimizeWindow"> <Button Classes="caption_button_macos" Click="MinimizeWindow">
<Grid> <Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Minimize}"/> <Ellipse Fill="{DynamicResource Brush.MacOS.Minimize}"/>
<Path Height="2" Width="8" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Minimize}"/> <Path Height="2" Width="8" Stretch="Fill" Fill="#606060" Data="{StaticResource Icons.MacOS.Minimize}"/>
</Grid> </Grid>
</Button> </Button>
<Button Classes="caption_button_macos" Click="MaximizeOrRestoreWindow"> <Button Classes="caption_button_macos" Click="MaximizeOrRestoreWindow">
<Grid> <Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Maximize}"/> <Ellipse Fill="{DynamicResource Brush.MacOS.Maximize}"/>
<Path Height="8" Width="8" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Maximize}}"/> <Path Height="8" Width="8" Stretch="Fill" Fill="#606060" Data="{StaticResource Icons.MacOS.Maximize}}"/>
</Grid> </Grid>
</Button> </Button>
</StackPanel> </StackPanel>

View file

@ -34,7 +34,7 @@
<Button Classes="caption_button_macos" Click="CloseWindow"> <Button Classes="caption_button_macos" Click="CloseWindow">
<Grid> <Grid>
<Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/> <Ellipse Fill="{DynamicResource Brush.MacOS.Close}"/>
<Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#804040" Data="{StaticResource Icons.MacOS.Close}"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>