mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-06 17:26:34 +08:00
feat: Add dimension to dark mode, add demo of dimension.
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
||||||
<CalendarDatePicker />
|
<CalendarDatePicker />
|
||||||
|
<CalendarDatePicker Classes="Large" />
|
||||||
|
<CalendarDatePicker Classes="Small" />
|
||||||
<CalendarDatePicker
|
<CalendarDatePicker
|
||||||
Name="DatePicker2"
|
Name="DatePicker2"
|
||||||
Margin="0,0,0,8"
|
Margin="0,0,0,8"
|
||||||
|
|||||||
@@ -14,4 +14,10 @@
|
|||||||
<SolidColorBrush x:Key="CalendarDatePickerDisabledBorderBrush" Color="Transparent" />
|
<SolidColorBrush x:Key="CalendarDatePickerDisabledBorderBrush" Color="Transparent" />
|
||||||
<SolidColorBrush x:Key="CalendarDatePickerDisabledIconForeground" Opacity="0.4" Color="#E6E8EA" />
|
<SolidColorBrush x:Key="CalendarDatePickerDisabledIconForeground" Opacity="0.4" Color="#E6E8EA" />
|
||||||
<BoxShadows x:Key="CalendarDatePickerPopupBoxShadows">0 0 8 0 #1AFFFFFF</BoxShadows>
|
<BoxShadows x:Key="CalendarDatePickerPopupBoxShadows">0 0 8 0 #1AFFFFFF</BoxShadows>
|
||||||
|
<x:Double x:Key="CalendarDatePickerInnerDefaultHeight">30</x:Double>
|
||||||
|
<x:Double x:Key="CalendarDatePickerInnerSmallHeight">22</x:Double>
|
||||||
|
<x:Double x:Key="CalendarDatePickerInnerLargeHeight">38</x:Double>
|
||||||
|
<x:Double x:Key="CalendarDatePickerDefaultHeight">32</x:Double>
|
||||||
|
<x:Double x:Key="CalendarDatePickerSmallHeight">24</x:Double>
|
||||||
|
<x:Double x:Key="CalendarDatePickerLargeHeight">40</x:Double>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
|
|||||||
Reference in New Issue
Block a user