feat: make UrsaView base.
This commit is contained in:
14
src/Ursa.Themes.Semi/Styles/UrsaView.axaml
Normal file
14
src/Ursa.Themes.Semi/Styles/UrsaView.axaml
Normal file
@@ -0,0 +1,14 @@
|
||||
<Styles xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:u="https://irihi.tech/ursa">
|
||||
<Design.PreviewWith>
|
||||
<Border Padding="20">
|
||||
<!-- Add Controls for Previewer Here -->
|
||||
</Border>
|
||||
</Design.PreviewWith>
|
||||
|
||||
<!-- Add Styles Here -->
|
||||
<Style Selector=":is(u|UrsaView)">
|
||||
<Setter Property="Theme" Value="{DynamicResource {x:Type u:UrsaView}}"/>
|
||||
</Style>
|
||||
</Styles>
|
||||
@@ -10,5 +10,6 @@
|
||||
<StyleInclude Source="Skeleton.axaml" />
|
||||
<StyleInclude Source="ToolBar.axaml"/>
|
||||
<StyleInclude Source="TimeBox.axaml"/>
|
||||
<StyleInclude Source="UrsaView.axaml" />
|
||||
<!-- Add Styles Here -->
|
||||
</Styles>
|
||||
|
||||
Reference in New Issue
Block a user