mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 18:20:47 +01:00
21 lines
603 B
XML
21 lines
603 B
XML
<Styles xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="using:Needlework.Net.Controls">
|
|
<Design.PreviewWith>
|
|
<controls:Card />
|
|
</Design.PreviewWith>
|
|
|
|
<Style Selector="controls|Card">
|
|
<!-- Set Defaults -->
|
|
<Setter Property="Template">
|
|
<ControlTemplate>
|
|
<Border Padding="16"
|
|
CornerRadius="16,16,16,16"
|
|
Background="{DynamicResource CardBackgroundFillColorDefaultBrush}">
|
|
<ContentPresenter Content="{TemplateBinding Content}"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter>
|
|
</Style>
|
|
</Styles>
|