style<Window>: macOS caption button color

This commit is contained in:
leo 2024-02-19 11:33:09 +08:00
parent 09b96b148c
commit d9f566673e
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" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" 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" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" 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" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" 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" Data="{StaticResource Icons.MacOS.Minimize}"/> <Path Height="2" Width="8" Stretch="Fill" Fill="#80000000" 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" Data="{StaticResource Icons.MacOS.Maximize}}"/> <Path Height="8" Width="8" Stretch="Fill" Fill="#80000000" 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" Data="{StaticResource Icons.MacOS.Close}"/> <Path Height="7" Width="7" Stretch="Fill" Fill="#80000000" Data="{StaticResource Icons.MacOS.Close}"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>