Merge pull request #398 from irihitech/toast
New Control: Notification & Toast
This commit is contained in:
3
src/Ursa.Themes.Semi/Themes/Shared/Notification.axaml
Normal file
3
src/Ursa.Themes.Semi/Themes/Shared/Notification.axaml
Normal file
@@ -0,0 +1,3 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Thickness x:Key="NotificationCardPadding">20 16 12 16</Thickness>
|
||||
</ResourceDictionary>
|
||||
17
src/Ursa.Themes.Semi/Themes/Shared/Toast.axaml
Normal file
17
src/Ursa.Themes.Semi/Themes/Shared/Toast.axaml
Normal file
@@ -0,0 +1,17 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<x:Double x:Key="ToastCardMinHeight">40</x:Double>
|
||||
<Thickness x:Key="ToastCardBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="ToastCardCornerRadius">6</CornerRadius>
|
||||
|
||||
<Thickness x:Key="ToastCardMargin">12</Thickness>
|
||||
<Thickness x:Key="ToastCardPadding">12 8</Thickness>
|
||||
|
||||
<x:Double x:Key="ToastCardIconWidth">18</x:Double>
|
||||
<x:Double x:Key="ToastCardIconHeight">18</x:Double>
|
||||
<Thickness x:Key="ToastCardIconMargin">0 2 0 0</Thickness>
|
||||
|
||||
<FontWeight x:Key="ToastCardContentFontWeight">600</FontWeight>
|
||||
<Thickness x:Key="ToastCardContentMargin">12 0</Thickness>
|
||||
<x:Double x:Key="ToastCardContentMaxWidth">450</x:Double>
|
||||
</ResourceDictionary>
|
||||
@@ -15,12 +15,14 @@
|
||||
<MergeResourceInclude Source="KeyGestureInput.axaml" />
|
||||
<MergeResourceInclude Source="MessageBox.axaml" />
|
||||
<MergeResourceInclude Source="NavigationMenu.axaml" />
|
||||
<MergeResourceInclude Source="Notification.axaml" />
|
||||
<MergeResourceInclude Source="Pagination.axaml" />
|
||||
<MergeResourceInclude Source="Rating.axaml" />
|
||||
<MergeResourceInclude Source="ScrollToButton.axaml" />
|
||||
<MergeResourceInclude Source="TagInput.axaml" />
|
||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
||||
<MergeResourceInclude Source="ThemeSelector.axaml" />
|
||||
<MergeResourceInclude Source="Toast.axaml" />
|
||||
<MergeResourceInclude Source="ToolBar.axaml" />
|
||||
<MergeResourceInclude Source="TimeBox.axaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
Reference in New Issue
Block a user