mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-26 11:17:55 +08:00
feat: Add new index for theme. fix some minor issue.
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
Text="Welcome to Semi Avalonia"
|
||||
Theme="{StaticResource TitleTextBlock}" />
|
||||
|
||||
<ToggleSwitch
|
||||
Content="Switch Theme"
|
||||
IsCheckedChanged="ToggleButton_OnIsCheckedChanged"
|
||||
OffContent="Dark"
|
||||
OnContent="Default" />
|
||||
|
||||
<StackPanel Orientation="Horizontal" Spacing="20">
|
||||
<Button Classes="Primary" Theme="{DynamicResource SolidButton}">Primary</Button>
|
||||
<Button Classes="Secondary" Theme="{DynamicResource SolidButton}">Secondary</Button>
|
||||
|
||||
Reference in New Issue
Block a user