mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
24 lines
1015 B
XML
24 lines
1015 B
XML
<Styles xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<Design.PreviewWith>
|
|
<Border Classes="router-container">
|
|
<Border Classes="card" Margin="40">
|
|
<TextBlock>I'm in a panel yo!</TextBlock>
|
|
</Border>
|
|
</Border>
|
|
</Design.PreviewWith>
|
|
|
|
<!-- Add Styles Here -->
|
|
<Style Selector="Border.router-container">
|
|
<Setter Property="Margin" Value="0 40 0 0"/>
|
|
<Setter Property="Background" Value="{DynamicResource SolidBackgroundFillColorTertiary}" />
|
|
<Setter Property="CornerRadius" Value="6 0 0 0" />
|
|
<Setter Property="ClipToBounds" Value="True" />
|
|
</Style>
|
|
|
|
<Style Selector="Border.card">
|
|
<Setter Property="Padding" Value="{DynamicResource FlyoutContentThemePadding}" />
|
|
<Setter Property="Background" Value="{DynamicResource ControlFillColorDefaultBrush}" />
|
|
<Setter Property="CornerRadius" Value="{DynamicResource ControlCornerRadius}" />
|
|
</Style>
|
|
</Styles> |