55 lines
2.5 KiB
XML
55 lines
2.5 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="using:Microsoft.UI.Xaml.Controls"
|
|
xmlns:internal="using:Ghost.Editor.Controls.Internal"
|
|
xmlns:local="using:Ghost.Editor.Core">
|
|
|
|
<ResourceDictionary.ThemeDictionaries>
|
|
<ResourceDictionary x:Key="Dark">
|
|
<StaticResource x:Key="TabViewItemHeaderBackgroundSelected" ResourceKey="ControlFillColorSecondaryBrush" />
|
|
<StaticResource x:Key="TabViewBackground" ResourceKey="AcrylicBackgroundFillColorBaseBrush" />
|
|
</ResourceDictionary>
|
|
<ResourceDictionary x:Key="Light">
|
|
<StaticResource x:Key="TabViewItemHeaderBackgroundSelected" ResourceKey="ControlFillColorSecondaryBrush" />
|
|
<StaticResource x:Key="TabViewBackground" ResourceKey="AcrylicBackgroundFillColorBaseBrush" />
|
|
</ResourceDictionary>
|
|
</ResourceDictionary.ThemeDictionaries>
|
|
|
|
<!-- Compact sizing -->
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="12" />
|
|
</Style>
|
|
<x:Double x:Key="ControlContentThemeFontSize">12</x:Double>
|
|
<x:Double x:Key="ContentControlFontSize">12</x:Double>
|
|
<x:Double x:Key="TextControlThemeMinHeight">24</x:Double>
|
|
<Thickness x:Key="TextControlThemePadding">2,2,6,1</Thickness>
|
|
<x:Double x:Key="ListViewItemMinHeight">32</x:Double>
|
|
<x:Double x:Key="TreeViewItemMinHeight">24</x:Double>
|
|
<x:Double x:Key="TreeViewItemMultiSelectCheckBoxMinHeight">24</x:Double>
|
|
<x:Double x:Key="TreeViewItemPresenterMargin">0</x:Double>
|
|
<x:Double x:Key="TreeViewItemPresenterPadding">0</x:Double>
|
|
<Thickness x:Key="TimePickerHostPadding">0,1,0,2</Thickness>
|
|
<Thickness x:Key="DatePickerHostPadding">0,1,0,2</Thickness>
|
|
<Thickness x:Key="DatePickerHostMonthPadding">9,0,0,1</Thickness>
|
|
<Thickness x:Key="ComboBoxEditableTextPadding">10,0,30,0</Thickness>
|
|
<x:Double x:Key="ComboBoxMinHeight">24</x:Double>
|
|
<Thickness x:Key="ComboBoxPadding">12,1,0,3</Thickness>
|
|
<x:Double x:Key="NavigationViewItemOnLeftMinHeight">32</x:Double>
|
|
|
|
<!-- Control override -->
|
|
<Style TargetType="internal:NavigationTabView">
|
|
<Setter Property="TabWidthMode" Value="Compact" />
|
|
</Style>
|
|
<Style TargetType="NumberBox" />
|
|
|
|
<!-- Named Style -->
|
|
<Style
|
|
x:Key="ToolbarButton"
|
|
BasedOn="{StaticResource SubtleButtonStyle}"
|
|
TargetType="Button" />
|
|
|
|
<!-- Named Resource -->
|
|
<x:Double x:Key="ToolbarIconSize">12</x:Double>
|
|
</ResourceDictionary>
|