feat: replace some Notification resources in Toast.axaml.
This commit is contained in:
5
src/Ursa.Themes.Semi/Themes/Dark/Toast.axaml
Normal file
5
src/Ursa.Themes.Semi/Themes/Dark/Toast.axaml
Normal file
@@ -0,0 +1,5 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<SolidColorBrush x:Key="ToastCardContentForeground" Color="#F9F9F9" />
|
||||
<SolidColorBrush x:Key="ToastCardBackground" Color="#43444A" />
|
||||
</ResourceDictionary>
|
||||
@@ -17,6 +17,7 @@
|
||||
<MergeResourceInclude Source="Rating.axaml" />
|
||||
<MergeResourceInclude Source="TagInput.axaml" />
|
||||
<MergeResourceInclude Source="Timeline.axaml" />
|
||||
<MergeResourceInclude Source="Toast.axaml" />
|
||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
||||
<MergeResourceInclude Source="TimeBox.axaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
5
src/Ursa.Themes.Semi/Themes/Light/Toast.axaml
Normal file
5
src/Ursa.Themes.Semi/Themes/Light/Toast.axaml
Normal file
@@ -0,0 +1,5 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<SolidColorBrush x:Key="ToastCardContentForeground" Color="#1C1F23" />
|
||||
<SolidColorBrush x:Key="ToastCardBackground" Color="White" />
|
||||
</ResourceDictionary>
|
||||
@@ -17,6 +17,7 @@
|
||||
<MergeResourceInclude Source="Rating.axaml" />
|
||||
<MergeResourceInclude Source="TagInput.axaml" />
|
||||
<MergeResourceInclude Source="Timeline.axaml" />
|
||||
<MergeResourceInclude Source="Toast.axaml" />
|
||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
||||
<MergeResourceInclude Source="TimeBox.axaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
<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="ToastCardPadding">12 8</Thickness>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user