You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
681 B
19 lines
681 B
1 year ago
|
<Styles xmlns="https://github.com/avaloniaui"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||
|
<Design.PreviewWith>
|
||
|
<StackPanel Margin="16" Spacing="4" Height="400" Width="300">
|
||
|
<Border Padding="16">
|
||
|
<TextBlock Text="Default Test"/>
|
||
|
</Border>
|
||
|
<Border Padding="16" Classes="theme-dark">
|
||
|
<TextBlock Text="theme-dark Test"/>
|
||
|
</Border>
|
||
|
</StackPanel>
|
||
|
</Design.PreviewWith>
|
||
|
|
||
|
<!-- Add Styles Here -->
|
||
|
<Style Selector="Border.theme-dark">
|
||
|
<Setter Property="Background" Value="{DynamicResource ThemeDarkAccentBackgroundBrush}"/>
|
||
|
</Style>
|
||
|
</Styles>
|