Add TimeBox Control
This commit is contained in:
12
src/Ursa.Themes.Semi/Themes/Dark/TimeBox.axaml
Normal file
12
src/Ursa.Themes.Semi/Themes/Dark/TimeBox.axaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<SolidColorBrush x:Key="TimeBoxBackground" Opacity="0.12" Color="White" />
|
||||
<SolidColorBrush x:Key="TimeBoxPointeroverBackground" Opacity="0.16" Color="White" />
|
||||
<SolidColorBrush x:Key="TimeBoxPressedBackground" Opacity="0.2" Color="White" />
|
||||
<SolidColorBrush x:Key="TimeBoxBorderBrush" Color="Transparent" />
|
||||
<SolidColorBrush x:Key="TimeBoxDisabledBackground" Opacity="0.04" Color="#E6E8EA" />
|
||||
<SolidColorBrush x:Key="TimeBoxFocusBorderBrush" Color="#FF54A9FF" />
|
||||
<SolidColorBrush x:Key="TimeBoxSelectionBrush" Color="#FF54A9FF" />
|
||||
<SolidColorBrush x:Key="TimeBoxSelectionForeground" Color="White" />
|
||||
<SolidColorBrush x:Key="TimeBoxCaretBrush" Color="White" />
|
||||
</ResourceDictionary>
|
||||
@@ -15,5 +15,6 @@
|
||||
<MergeResourceInclude Source="TagInput.axaml" />
|
||||
<MergeResourceInclude Source="Timeline.axaml" />
|
||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
||||
<MergeResourceInclude Source="TimeBox.axaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
||||
12
src/Ursa.Themes.Semi/Themes/Light/TimeBox.axaml
Normal file
12
src/Ursa.Themes.Semi/Themes/Light/TimeBox.axaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<SolidColorBrush x:Key="TimeBoxBackground" Opacity="0.05" Color="#FF2E3238" />
|
||||
<SolidColorBrush x:Key="TimeBoxPointeroverBackground" Opacity="0.09" Color="#FF2E3238" />
|
||||
<SolidColorBrush x:Key="TimeBoxPressedBackground" Opacity="0.13" Color="#FF2E3238" />
|
||||
<SolidColorBrush x:Key="TimeBoxBorderBrush" Color="Transparent" />
|
||||
<SolidColorBrush x:Key="TimeBoxDisabledBackground" Opacity="0.02" Color="#2E3238" />
|
||||
<SolidColorBrush x:Key="TimeBoxFocusBorderBrush" Color="#FF0077FA" />
|
||||
<SolidColorBrush x:Key="TimeBoxSelectionBrush" Color="#FF0077FA" />
|
||||
<SolidColorBrush x:Key="TimeBoxSelectionForeground" Color="White" />
|
||||
<SolidColorBrush x:Key="TimeBoxCaretBrush" Color="Black" />
|
||||
</ResourceDictionary>
|
||||
@@ -15,5 +15,6 @@
|
||||
<MergeResourceInclude Source="TagInput.axaml" />
|
||||
<MergeResourceInclude Source="Timeline.axaml" />
|
||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
||||
<MergeResourceInclude Source="TimeBox.axaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
||||
8
src/Ursa.Themes.Semi/Themes/Shared/TimeBox.axaml
Normal file
8
src/Ursa.Themes.Semi/Themes/Shared/TimeBox.axaml
Normal file
@@ -0,0 +1,8 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<x:Double x:Key="TimeBoxDefaultMinHeight">32</x:Double>
|
||||
<x:Double x:Key="TimeBoxSmallMinHeight">24</x:Double>
|
||||
<x:Double x:Key="TimeBoxLargeMinHeight">40</x:Double>
|
||||
<Thickness x:Key="TimeBoxBorderThickness">1</Thickness>
|
||||
<CornerRadius x:Key="TimeBoxCornerRadius">3</CornerRadius>
|
||||
</ResourceDictionary>
|
||||
@@ -18,5 +18,6 @@
|
||||
<MergeResourceInclude Source="Skeleton.axaml" />
|
||||
<MergeResourceInclude Source="ThemeSelector.axaml" />
|
||||
<MergeResourceInclude Source="ToolBar.axaml" />
|
||||
<MergeResourceInclude Source="TimeBox.axaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user