mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-03 00:00:55 +08:00
misc: format shared codes.
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<x:Double x:Key="ButtonDefaultFontSize">14</x:Double>
|
||||
<FontWeight x:Key="ButtonDefaultFontWeight">600</FontWeight>
|
||||
|
||||
<Thickness x:Key="ButtonDefaultPadding">12 6</Thickness>
|
||||
<Thickness x:Key="ButtonLargePadding">16 10</Thickness>
|
||||
<Thickness x:Key="ButtonSmallPadding">6 2</Thickness>
|
||||
|
||||
<x:Double x:Key="ButtonDefaultHeight">32</x:Double>
|
||||
<x:Double x:Key="ButtonSmallHeight">24</x:Double>
|
||||
<x:Double x:Key="ButtonLargeHeight">40</x:Double>
|
||||
|
||||
<Thickness x:Key="ButtonBorderThickness">1</Thickness>
|
||||
|
||||
<CornerRadius x:Key="ButtonCornerRadius">3</CornerRadius>
|
||||
|
||||
<StaticResource x:Key="IconButtonClearData" ResourceKey="SemiIconClear" />
|
||||
</ResourceDictionary>
|
||||
@@ -1,7 +1,6 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="ButtonSpinnerIncreaseButtonGlyph" ResourceKey="SemiIconChevronUp"/>
|
||||
<StaticResource x:Key="ButtonSpinnerDecreaseButtonGlyph" ResourceKey="SemiIconChevronDown"/>
|
||||
|
||||
<StaticResource x:Key="ButtonSpinnerIncreaseButtonGlyph" ResourceKey="SemiIconChevronUp" />
|
||||
<StaticResource x:Key="ButtonSpinnerDecreaseButtonGlyph" ResourceKey="SemiIconChevronDown" />
|
||||
<CornerRadius x:Key="ButtonSpinnerButtonGroupCornerRadius">3</CornerRadius>
|
||||
<Thickness x:Key="ButtonSpinnerButtonGroupBorderThickness">1</Thickness>
|
||||
</ResourceDictionary>
|
||||
@@ -2,13 +2,11 @@
|
||||
<Thickness x:Key="CalendarBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="CalendarCornerRadius">6</CornerRadius>
|
||||
<GridLength x:Key="CalendarItemWeekDayNameHeight">40</GridLength>
|
||||
<StaticResource x:Key="CalendarItemPreviousIconGlyph" ResourceKey="SemiIconChevronLeft"/>
|
||||
<StaticResource x:Key="CalendarItemNextIconGlyph" ResourceKey="SemiIconChevronRight"/>
|
||||
|
||||
<StaticResource x:Key="CalendarItemPreviousIconGlyph" ResourceKey="SemiIconChevronLeft" />
|
||||
<StaticResource x:Key="CalendarItemNextIconGlyph" ResourceKey="SemiIconChevronRight" />
|
||||
<FontWeight x:Key="CalendarItemCalendarButtonSelectedFontWeight">600</FontWeight>
|
||||
<CornerRadius x:Key="CalendarItemCalendarButtonCornerRadius">3</CornerRadius>
|
||||
<CornerRadius x:Key="CalendarItemCalendarDayButtonCornerRadius">3</CornerRadius>
|
||||
|
||||
<x:Double x:Key="CalendarMinWidth">240</x:Double>
|
||||
<x:Double x:Key="CalendarMinHeight">250</x:Double>
|
||||
</ResourceDictionary>
|
||||
@@ -1,5 +1,5 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="CalendarDatePickerIconGlyph" ResourceKey="SemiIconCalendar"/>
|
||||
<StaticResource x:Key="CalendarDatePickerIconGlyph" ResourceKey="SemiIconCalendar" />
|
||||
<Thickness x:Key="CalendarDatePickerBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="CalendarDatePickerCornerRadius">3</CornerRadius>
|
||||
<x:Double x:Key="CalendarDatePickerDefaultHeight">32</x:Double>
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="CarouselButtonGlyph" ResourceKey="SemiIconChevronLeft"/>
|
||||
|
||||
<StaticResource x:Key="CarouselButtonGlyph" ResourceKey="SemiIconChevronLeft" />
|
||||
<x:Double x:Key="CarouselIndicatorDotWidth">8</x:Double>
|
||||
<x:Double x:Key="CarouselIndicatorDotHeight">8</x:Double>
|
||||
|
||||
<x:Double x:Key="CarouselIndicatorLineHeight">4</x:Double>
|
||||
|
||||
<x:Double x:Key="CarouselIndicatorColumnarWidth">4</x:Double>
|
||||
<x:Double x:Key="CarouselIndicatorColumnarHeight">12</x:Double>
|
||||
<x:Double x:Key="CarouselIndicatorColumnarSelectedHeight">20</x:Double>
|
||||
|
||||
<Thickness x:Key="CarouselButtonMargin">20</Thickness>
|
||||
</ResourceDictionary>
|
||||
@@ -4,16 +4,12 @@
|
||||
<x:Double x:Key="CheckBoxBoxHeight">16</x:Double>
|
||||
<Thickness x:Key="CheckBoxBoxMargin">0 2 0 0</Thickness>
|
||||
<Thickness x:Key="CheckBoxContentMargin">8 0 0 0</Thickness>
|
||||
|
||||
<x:Double x:Key="CheckBoxBoxGlyphWidth">16</x:Double>
|
||||
<x:Double x:Key="CheckBoxBoxGlyphHeight">16</x:Double>
|
||||
|
||||
<CornerRadius x:Key="CheckBoxBoxCornerRadius">3</CornerRadius>
|
||||
<Thickness x:Key="CheckBoxBoxBorderThickness">1</Thickness>
|
||||
|
||||
<StaticResource x:Key="CheckBoxCheckGlyph" ResourceKey="SemiIconCheckBoxTick"/>
|
||||
<StaticResource x:Key="CheckBoxIndeterminateGlyph" ResourceKey="SemiIconCheckBoxIndeterminate"/>
|
||||
|
||||
<StaticResource x:Key="CheckBoxCheckGlyph" ResourceKey="SemiIconCheckBoxTick" />
|
||||
<StaticResource x:Key="CheckBoxIndeterminateGlyph" ResourceKey="SemiIconCheckBoxIndeterminate" />
|
||||
<Thickness x:Key="CheckBoxCardBorderThickness">1</Thickness>
|
||||
<Thickness x:Key="CheckBoxCardPadding">16 12</Thickness>
|
||||
<CornerRadius x:Key="CheckBoxCardCornerRadius">3</CornerRadius>
|
||||
|
||||
@@ -1,20 +1,15 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<CornerRadius x:Key="ComboBoxSelectorCornerRadius">3</CornerRadius>
|
||||
<Thickness x:Key="ComboBoxSelectorThickness">1</Thickness>
|
||||
|
||||
<Thickness x:Key="ComboBoxItemDefaultPadding">12 8</Thickness>
|
||||
<Thickness x:Key="ComboBoxSelectorDefaultPadding">12 0 0 0</Thickness>
|
||||
|
||||
<x:Double x:Key="ComboBoxPopupMaxDropDownHeight">504</x:Double>
|
||||
<Thickness x:Key="ComboBoxPopupBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="ComboBoxPopupBoxCornerRadius">6</CornerRadius>
|
||||
|
||||
<x:Double x:Key="ComboBoxIconWidth">32</x:Double>
|
||||
<StaticResource x:Key="ComboBoxIcon" ResourceKey="SemiIconChevronDown"/>
|
||||
|
||||
<StaticResource x:Key="ComboBoxIcon" ResourceKey="SemiIconChevronDown" />
|
||||
<Thickness x:Key="ComboBoxPopupBorderMargin">4</Thickness>
|
||||
<Thickness x:Key="ComboBoxPopupBorderPadding">0 4</Thickness>
|
||||
|
||||
<x:Double x:Key="ComboBoxDefaultHeight">32</x:Double>
|
||||
<x:Double x:Key="ComboBoxSmallHeight">24</x:Double>
|
||||
<x:Double x:Key="ComboBoxLargeHeight">40</x:Double>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
</ResourceDictionary>
|
||||
@@ -1,3 +1,3 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="DatePickerIconGlyph" ResourceKey="SemiIconCalendar"/>
|
||||
<StaticResource x:Key="DatePickerIconGlyph" ResourceKey="SemiIconCalendar" />
|
||||
</ResourceDictionary>
|
||||
@@ -3,17 +3,12 @@
|
||||
<StaticResource x:Key="DateTimePickerButtonDownGlyph" ResourceKey="SemiIconCaretDown" />
|
||||
<StaticResource x:Key="DateTimePickerAcceptGlyph" ResourceKey="SemiIconTick" />
|
||||
<StaticResource x:Key="DateTimePickerDismissGlyph" ResourceKey="SemiIconClose" />
|
||||
|
||||
<x:Double x:Key="DateTimePickerListBoxItemHeight">36</x:Double>
|
||||
|
||||
|
||||
<Thickness x:Key="DateTimePickerFlyoutPadding">0</Thickness>
|
||||
<Thickness x:Key="DateTimePickerFlyoutBorderMargin">8</Thickness>
|
||||
|
||||
<x:Double x:Key="DateTimePickerButtonSmallHeight">24</x:Double>
|
||||
<x:Double x:Key="DateTimePickerButtonDefaultHeight">32</x:Double>
|
||||
<x:Double x:Key="DateTimePickerButtonLargeHeight">40</x:Double>
|
||||
|
||||
<Thickness x:Key="DateTimePickerButtonBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="DateTimePickerButtonCornerRadius">3</CornerRadius>
|
||||
</ResourceDictionary>
|
||||
@@ -1,3 +1,3 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="DropDownButtonIconGlyph" ResourceKey="SemiIconChevronDown"/>
|
||||
<StaticResource x:Key="DropDownButtonIconGlyph" ResourceKey="SemiIconChevronDown" />
|
||||
</ResourceDictionary>
|
||||
@@ -2,8 +2,7 @@
|
||||
<FontWeight x:Key="ExpanderHeaderFontWeight">600</FontWeight>
|
||||
<x:Double x:Key="ExpanderIconSize">8</x:Double>
|
||||
<Thickness x:Key="ExpanderIconMargin">8 0 0 0</Thickness>
|
||||
<StaticResource x:Key="ExpanderIcon" ResourceKey="SemiIconChevronDown"/>
|
||||
|
||||
<StaticResource x:Key="ExpanderIcon" ResourceKey="SemiIconChevronDown" />
|
||||
<Thickness x:Key="ExpanderHeaderMargin">8 4</Thickness>
|
||||
<Thickness x:Key="ExpanderHeaderPadding">8</Thickness>
|
||||
<Thickness x:Key="ExpanderContentMargin">16 4 16 8</Thickness>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
</ResourceDictionary>
|
||||
@@ -1,4 +1,4 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<CornerRadius x:Key="HeaderedContentControlCornerRadius">6</CornerRadius>
|
||||
<Thickness x:Key="HeaderedContentControlBorderThickness">1</Thickness>
|
||||
<FontWeight x:Key="HeaderedContentControlHeaderFontWeight">600</FontWeight>
|
||||
|
||||
@@ -4,6 +4,5 @@
|
||||
<x:Double x:Key="HyperlinkButtonLinkGlyphWidth">16</x:Double>
|
||||
<x:Double x:Key="HyperlinkButtonLinkGlyphHeight">16</x:Double>
|
||||
<Thickness x:Key="HyperlinkButtonLinkGlyphMargin">0 0 4 0</Thickness>
|
||||
|
||||
<StaticResource x:Key="HyperlinkButtonLinkGlyph" ResourceKey="SemiIconLink" />
|
||||
</ResourceDictionary>
|
||||
@@ -2,5 +2,4 @@
|
||||
<!-- ListBox -->
|
||||
<Thickness x:Key="ListBoxItemDefaultPadding">12 8</Thickness>
|
||||
<CornerRadius x:Key="ListBoxItemCornerRadius">0</CornerRadius>
|
||||
|
||||
</ResourceDictionary>
|
||||
@@ -1,3 +1,3 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="ManagedFileChooserUpButtonGlyph" ResourceKey="SemiIconArrowUp"/>
|
||||
<StaticResource x:Key="ManagedFileChooserUpButtonGlyph" ResourceKey="SemiIconArrowUp" />
|
||||
</ResourceDictionary>
|
||||
@@ -1,10 +1,8 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="MenuScrollViewerUpButtonGlyph" ResourceKey="SemiIconChevronUp"/>
|
||||
<StaticResource x:Key="MenuScrollViewerDownButtonGlyph" ResourceKey="SemiIconChevronDown"/>
|
||||
|
||||
<StaticResource x:Key="MenuItemExpandIconGlyph" ResourceKey="SemiIconChevronRight"/>
|
||||
<StaticResource x:Key="MenuCheckGlyph" ResourceKey="SemiIconCheckBoxTick"/>
|
||||
|
||||
<StaticResource x:Key="MenuScrollViewerUpButtonGlyph" ResourceKey="SemiIconChevronUp" />
|
||||
<StaticResource x:Key="MenuScrollViewerDownButtonGlyph" ResourceKey="SemiIconChevronDown" />
|
||||
<StaticResource x:Key="MenuItemExpandIconGlyph" ResourceKey="SemiIconChevronRight" />
|
||||
<StaticResource x:Key="MenuCheckGlyph" ResourceKey="SemiIconCheckBoxTick" />
|
||||
<!-- MenuFlyout -->
|
||||
<Thickness x:Key="MenuFlyoutBorderThickness">1</Thickness>
|
||||
<Thickness x:Key="MenuFlyoutPadding">0 4</Thickness>
|
||||
@@ -13,16 +11,12 @@
|
||||
<x:Double x:Key="MenuFlyoutMinWidth">100</x:Double>
|
||||
<x:Double x:Key="MenuFlyoutMaxHeight">400</x:Double>
|
||||
<x:Double x:Key="MenuFlyoutMaxWidth">600</x:Double>
|
||||
|
||||
<!-- MenuItem -->
|
||||
<Thickness x:Key="MenuItemPadding">16 8</Thickness>
|
||||
|
||||
<CornerRadius x:Key="MenuItemCornerRadius">3</CornerRadius>
|
||||
|
||||
<x:Double x:Key="MenuItemSeparatorHeight">1</x:Double>
|
||||
<Thickness x:Key="MenuItemSeparatorMargin">2</Thickness>
|
||||
<Thickness x:Key="MenuItemIconMargin">0 0 12 0</Thickness>
|
||||
<Thickness x:Key="MenuItemInputGestureTextMargin">4 0</Thickness>
|
||||
|
||||
<Thickness x:Key="MenuItemExpandIconMargin">4 0</Thickness>
|
||||
</ResourceDictionary>
|
||||
@@ -4,17 +4,14 @@
|
||||
<CornerRadius x:Key="NotificationCardCornerRadius">6</CornerRadius>
|
||||
<Thickness x:Key="NotificationCardMargin">8</Thickness>
|
||||
<Thickness x:Key="NotificationCardPadding">20 16 12 16</Thickness>
|
||||
|
||||
<x:Double x:Key="NotificationCardIconWidth">20</x:Double>
|
||||
<x:Double x:Key="NotificationCardIconHeight">20</x:Double>
|
||||
<Thickness x:Key="NotificationCardIconMargin">0 0 12 0</Thickness>
|
||||
<StaticResource x:Key="NotificationCardInformationIconPathData" ResourceKey="SemiIconInfoCircle"/>
|
||||
<StaticResource x:Key="NotificationCardSuccessIconPathData" ResourceKey="SemiIconTickCircle"/>
|
||||
<StaticResource x:Key="NotificationCardWarningIconPathData" ResourceKey="SemiIconAlertTriangle"/>
|
||||
<StaticResource x:Key="NotificationCardErrorIconPathData" ResourceKey="SemiIconAlertCircle"/>
|
||||
|
||||
<StaticResource x:Key="NotificationCardInformationIconPathData" ResourceKey="SemiIconInfoCircle" />
|
||||
<StaticResource x:Key="NotificationCardSuccessIconPathData" ResourceKey="SemiIconTickCircle" />
|
||||
<StaticResource x:Key="NotificationCardWarningIconPathData" ResourceKey="SemiIconAlertTriangle" />
|
||||
<StaticResource x:Key="NotificationCardErrorIconPathData" ResourceKey="SemiIconAlertCircle" />
|
||||
<x:Double x:Key="NotificationCardTitleSpacing">4</x:Double>
|
||||
|
||||
<x:Double x:Key="NotificationCardTitleFontSize">16</x:Double>
|
||||
<FontWeight x:Key="NotificationCardTitleFontWeight">600</FontWeight>
|
||||
<x:Double x:Key="NotificationCardMessageFontSize">14</x:Double>
|
||||
|
||||
@@ -4,25 +4,19 @@
|
||||
<x:Double x:Key="RadioButtonGlyphRadius">6</x:Double>
|
||||
<x:Double x:Key="RadioButtonFontSize">14</x:Double>
|
||||
<Thickness x:Key="RadioButtonIconMargin">0 2 0 0</Thickness>
|
||||
|
||||
<x:Double x:Key="RadioButtonUncheckIconDefaultThickness">1</x:Double>
|
||||
<Thickness x:Key="RadioButtonContentMargin">8 0 0 0</Thickness>
|
||||
|
||||
<!-- ButtonRadioButton -->
|
||||
<CornerRadius x:Key="RadioButtonBoxCornerRadius">3</CornerRadius>
|
||||
|
||||
<CornerRadius x:Key="RadioButtonGroupCornerRadius">3</CornerRadius>
|
||||
<CornerRadius x:Key="RadioButtonButtonCornerRadius">3</CornerRadius>
|
||||
|
||||
<FontWeight x:Key="RadioButtonButtonFontWeight">600</FontWeight>
|
||||
<Thickness x:Key="RadioButtonButtonSmallPadding">16 2</Thickness>
|
||||
<Thickness x:Key="RadioButtonButtonDefaultPadding">16 4</Thickness>
|
||||
<Thickness x:Key="RadioButtonButtonLargePadding">24 6</Thickness>
|
||||
|
||||
<x:Double x:Key="RadioButtonButtonSmallFontSize">12</x:Double>
|
||||
<x:Double x:Key="RadioButtonButtonDefaultFontSize">12</x:Double>
|
||||
<x:Double x:Key="RadioButtonButtonLargeFontSize">14</x:Double>
|
||||
|
||||
<!-- CardRadioButton -->
|
||||
<Thickness x:Key="RadioButtonBorderThickness">1</Thickness>
|
||||
<Thickness x:Key="RadioButtonCardPadding">16 12</Thickness>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<x:Double x:Key="SliderThumbHeight">16</x:Double>
|
||||
<CornerRadius x:Key="SliderThumbCornerRadius">24</CornerRadius>
|
||||
<Thickness x:Key="SliderBorderThickness">0</Thickness>
|
||||
|
||||
<x:Double x:Key="SliderTickHorizontalHeight">4</x:Double>
|
||||
<x:Double x:Key="SliderTickVerticalWidth">4</x:Double>
|
||||
<Thickness x:Key="SliderThumbBorderThickness">2</Thickness>
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
<ResourceDictionary
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:sys="using:System">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="using:System">
|
||||
<x:Double x:Key="SplitViewOpenPaneThemeLength">320</x:Double>
|
||||
<x:Double x:Key="SplitViewCompactPaneThemeLength">48</x:Double>
|
||||
<sys:TimeSpan x:Key="SplitViewPaneAnimationOpenDuration">00:00:00.2</sys:TimeSpan>
|
||||
<sys:TimeSpan x:Key="SplitViewPaneAnimationCloseDuration">00:00:00.1</sys:TimeSpan>
|
||||
<x:TimeSpan x:Key="SplitViewPaneAnimationOpenDuration">00:00:00.2</x:TimeSpan>
|
||||
<x:TimeSpan x:Key="SplitViewPaneAnimationCloseDuration">00:00:00.1</x:TimeSpan>
|
||||
<Easing x:Key="SplitViewPaneAnimationEasing">0.1,0.9,0.2,1.0</Easing>
|
||||
</ResourceDictionary>
|
||||
@@ -1,2 +1,2 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
</ResourceDictionary>
|
||||
@@ -1,6 +1,5 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<x:Double x:Key="TextBlockCodeFontSize">12</x:Double>
|
||||
|
||||
<x:Double x:Key="TextBlockFontSize">14</x:Double>
|
||||
<x:Double x:Key="TextBlockTitleH1FontSize">32</x:Double>
|
||||
<x:Double x:Key="TextBlockTitleH2FontSize">28</x:Double>
|
||||
@@ -10,6 +9,5 @@
|
||||
<x:Double x:Key="TextBlockTitleH6FontSize">16</x:Double>
|
||||
<FontWeight x:Key="TextBlockFontWeight">400</FontWeight>
|
||||
<FontWeight x:Key="TextBlockTitleFontWeight">600</FontWeight>
|
||||
|
||||
<CornerRadius x:Key="TextBlockCodeCornerRadius">2</CornerRadius>
|
||||
</ResourceDictionary>
|
||||
@@ -2,17 +2,13 @@
|
||||
<x:Double x:Key="TextBoxDefaultHeight">32</x:Double>
|
||||
<x:Double x:Key="TextBoxSmallHeight">24</x:Double>
|
||||
<x:Double x:Key="TextBoxLargeHeight">40</x:Double>
|
||||
|
||||
<CornerRadius x:Key="TextBoxDefaultCornerRadius">3</CornerRadius>
|
||||
|
||||
<Thickness x:Key="TextBoxInnerLeftContentPadding">0 0 8 0</Thickness>
|
||||
<Thickness x:Key="TextBoxInnerRightContentPadding">8 0 0 0</Thickness>
|
||||
<Thickness x:Key="TextBoxContentPadding">8 0</Thickness>
|
||||
<Thickness x:Key="TextBoxBorderThickness">1</Thickness>
|
||||
|
||||
<Thickness x:Key="TextBoxTextAreaContentPadding">12 5</Thickness>
|
||||
<x:Double x:Key="TextBoxTextAreaHeight">90</x:Double>
|
||||
|
||||
<StaticResource x:Key="PasswordBoxRevealButtonData" ResourceKey="SemiIconEyeClosedSolid" />
|
||||
<StaticResource x:Key="PasswordBoxHideButtonData" ResourceKey="SemiIconEyeOpened" />
|
||||
</ResourceDictionary>
|
||||
@@ -1,7 +1,6 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<x:Double x:Key="ToggleButtonDefaultFontSize">14</x:Double>
|
||||
<FontWeight x:Key="ToggleButtonDefaultFontWeight">600</FontWeight>
|
||||
|
||||
<Thickness x:Key="ToggleButtonBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="ToggleButtonCornerRadius">3</CornerRadius>
|
||||
</ResourceDictionary>
|
||||
@@ -19,12 +19,9 @@
|
||||
<x:Double x:Key="ToggleSwitchLoadingIndicatorDefaultStrokeThickness">2</x:Double>
|
||||
<x:Double x:Key="ToggleSwitchLoadingIndicatorSmallStrokeThickness">1</x:Double>
|
||||
<x:Double x:Key="ToggleSwitchLoadingIndicatorLargeStrokeThickness">3</x:Double>
|
||||
|
||||
<x:Double x:Key="ToggleSwitchDefaultFontSize">12</x:Double>
|
||||
<x:Double x:Key="ToggleSwitchLargeFontSize">14</x:Double>
|
||||
|
||||
<Thickness x:Key="ToggleSwitchHeaderMargin">8 4</Thickness>
|
||||
<Thickness x:Key="ToggleSwitchOnContentMargin">8 4</Thickness>
|
||||
|
||||
<x:Double x:Key="SimpleToggleSwitchFontSize">14</x:Double>
|
||||
</ResourceDictionary>
|
||||
@@ -1,9 +1,7 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<x:Double x:Key="TreeViewItemIndent">20</x:Double>
|
||||
<x:Double x:Key="TreeViewItemIconSize">8</x:Double>
|
||||
|
||||
<StaticResource x:Key="ExpanderIconData" ResourceKey="SemiIconTreeTriangleRight"/>
|
||||
|
||||
<StaticResource x:Key="ExpanderIconData" ResourceKey="SemiIconTreeTriangleRight" />
|
||||
<Thickness x:Key="TreeViewItemIconMargin">8 0</Thickness>
|
||||
<Thickness x:Key="TreeViewItemPadding">0 4 8 4</Thickness>
|
||||
</ResourceDictionary>
|
||||
@@ -1,2 +1,2 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
</ResourceDictionary>
|
||||
@@ -1,4 +1,4 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Shared/AdornerLayer.axaml" />
|
||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Shared/AutoCompleteBox.axaml" />
|
||||
|
||||
Reference in New Issue
Block a user