feat: replace most resources in Shared folder with basic design tokens.

This commit is contained in:
Zhang Dian
2025-01-02 14:31:47 +08:00
parent c55efe8835
commit 7600b187f4
28 changed files with 128 additions and 128 deletions

View File

@@ -1,16 +1,16 @@
<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>
<StaticResource x:Key="ComboBoxSelectorCornerRadius" ResourceKey="SemiBorderRadiusSmall" />
<StaticResource x:Key="ComboBoxSelectorThickness" ResourceKey="SemiBorderThicknessControl" />
<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>
<StaticResource x:Key="ComboBoxPopupBorderThickness" ResourceKey="SemiBorderThicknessControl" />
<StaticResource x:Key="ComboBoxPopupBoxCornerRadius" ResourceKey="SemiBorderRadiusMedium" />
<x:Double x:Key="ComboBoxIconWidth">32</x:Double>
<StaticResource x:Key="ComboBoxIcon" ResourceKey="SemiIconChevronDown" />
<Thickness x:Key="ComboBoxPopupBorderMargin">4</Thickness>
<StaticResource x:Key="ComboBoxPopupBorderMargin" ResourceKey="SemiThicknessExtraTight" />
<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>
<StaticResource x:Key="ComboBoxDefaultHeight" ResourceKey="SemiHeightControlDefault" />
<StaticResource x:Key="ComboBoxSmallHeight" ResourceKey="SemiHeightControlSmall" />
<StaticResource x:Key="ComboBoxLargeHeight" ResourceKey="SemiHeightControlLarge" />
</ResourceDictionary>