mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-28 12:13:24 +08:00
Compare commits
20 Commits
v0.1.0-pre
...
v11.0.0-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff2ff9c462 | ||
|
|
20307f0c1b | ||
|
|
21a07b703d | ||
|
|
e6a3274db9 | ||
|
|
f72ec20576 | ||
|
|
071976dd05 | ||
|
|
4842270a96 | ||
|
|
49c95dcb5e | ||
|
|
6c16d43980 | ||
|
|
3289295278 | ||
|
|
30d9dcb1e8 | ||
|
|
c2b5b01f34 | ||
|
|
e999aeac23 | ||
|
|
da025e97c5 | ||
|
|
9d17cd0087 | ||
|
|
5d8297a392 | ||
|
|
90a1b90b9a | ||
|
|
5475ad8bcf | ||
|
|
f29e60712b | ||
|
|
cefa6bb4df |
@@ -5,13 +5,11 @@
|
|||||||
|
|
||||||
Avalonia Theme inspired by Semi Design
|
Avalonia Theme inspired by Semi Design
|
||||||
|
|
||||||
> Semi.Avalonia is still in very early stage. Please don't use in production.
|
|
||||||
|
|
||||||
# How to Use
|
# How to Use
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```bash
|
```bash
|
||||||
dotnet add package Semi.Avalonia --version 0.1.0-preview8
|
dotnet add package Semi.Avalonia --version 11.0.0-rc1
|
||||||
```
|
```
|
||||||
Include Semi Design Styles in application:
|
Include Semi Design Styles in application:
|
||||||
|
|
||||||
@@ -25,8 +23,8 @@ That's all.
|
|||||||
|
|
||||||
DataGrid and ColorPicker are distributed in separated packages. Please install if you need.
|
DataGrid and ColorPicker are distributed in separated packages. Please install if you need.
|
||||||
```bash
|
```bash
|
||||||
dotnet add package Semi.Avalonia.ColorPicker --version 0.1.0-preview8
|
dotnet add package Semi.Avalonia.ColorPicker --version 11.0.0-rc1
|
||||||
dotnet add package Semi.Avalonia.DataGrid --version 0.1.0-preview8
|
dotnet add package Semi.Avalonia.DataGrid --version 11.0.0-rc1
|
||||||
```
|
```
|
||||||
```xaml
|
```xaml
|
||||||
<Application.Styles>
|
<Application.Styles>
|
||||||
@@ -44,6 +42,7 @@ https://github.com/irihitech/Semi.Avalonia/releases
|
|||||||
|
|
||||||
| Semi Design Version | Avalonia Version |
|
| Semi Design Version | Avalonia Version |
|
||||||
|:--------------------|:-----------------|
|
|:--------------------|:-----------------|
|
||||||
|
| 11.0.0-rc1 | 11.0.0-rc1.1 |
|
||||||
| 0.1.0-preview3 | 11.0-preview4 |
|
| 0.1.0-preview3 | 11.0-preview4 |
|
||||||
| 0.1.0-preview5.x | 11.0-preview5 |
|
| 0.1.0-preview5.x | 11.0-preview5 |
|
||||||
| 0.1.0-preview6.x | 11.0-preview6 |
|
| 0.1.0-preview6.x | 11.0-preview6 |
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<AvaloniaVersion>11.0.0-preview8</AvaloniaVersion>
|
<AvaloniaVersion>11.0.0-rc1.1</AvaloniaVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<UserControl xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="Semi.Avalonia.Demo.Pages.HeaderedContentControlDemo">
|
||||||
|
<ScrollViewer>
|
||||||
|
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
||||||
|
<HeaderedContentControl Theme="{DynamicResource GroupBox}" Header="Semi Design">
|
||||||
|
<TextBlock TextWrapping="Wrap">Semi Design 是由互娱社区前端团队与 UED 团队共同设计开发并维护的设计系统。设计系统包含设计语言以及一整套可复用的前端组件,帮助设计师与开发者更容易地打造高质量的、用户体验一致的、符合设计规范的 Web 应用。</TextBlock>
|
||||||
|
</HeaderedContentControl>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</UserControl>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using Avalonia.Controls;
|
||||||
|
|
||||||
|
namespace Semi.Avalonia.Demo.Pages;
|
||||||
|
|
||||||
|
public partial class HeaderedContentControlDemo : UserControl
|
||||||
|
{
|
||||||
|
public HeaderedContentControlDemo()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
<RepeatButton Classes="Primary">Primary</RepeatButton>
|
<RepeatButton Classes="Primary">Primary</RepeatButton>
|
||||||
<RepeatButton Classes="Secondary">Secondary</RepeatButton>
|
<RepeatButton Classes="Secondary">Secondary</RepeatButton>
|
||||||
<RepeatButton Classes="Tertiary">Tertiary</RepeatButton>
|
<RepeatButton Classes="Tertiary">Tertiary</RepeatButton>
|
||||||
|
<RepeatButton Classes="Success">Success</RepeatButton>
|
||||||
<RepeatButton Classes="Warning">Warning</RepeatButton>
|
<RepeatButton Classes="Warning">Warning</RepeatButton>
|
||||||
<RepeatButton Classes="Danger">Danger</RepeatButton>
|
<RepeatButton Classes="Danger">Danger</RepeatButton>
|
||||||
<RepeatButton Classes="Primary" IsEnabled="False">Danger</RepeatButton>
|
<RepeatButton Classes="Primary" IsEnabled="False">Danger</RepeatButton>
|
||||||
@@ -22,6 +23,7 @@
|
|||||||
<RepeatButton Classes="Primary" Theme="{DynamicResource SolidRepeatButton}">Primary</RepeatButton>
|
<RepeatButton Classes="Primary" Theme="{DynamicResource SolidRepeatButton}">Primary</RepeatButton>
|
||||||
<RepeatButton Classes="Secondary" Theme="{DynamicResource SolidRepeatButton}">Secondary</RepeatButton>
|
<RepeatButton Classes="Secondary" Theme="{DynamicResource SolidRepeatButton}">Secondary</RepeatButton>
|
||||||
<RepeatButton Classes="Tertiary" Theme="{DynamicResource SolidRepeatButton}">Tertiary</RepeatButton>
|
<RepeatButton Classes="Tertiary" Theme="{DynamicResource SolidRepeatButton}">Tertiary</RepeatButton>
|
||||||
|
<RepeatButton Classes="Success" Theme="{DynamicResource SolidRepeatButton}">Success</RepeatButton>
|
||||||
<RepeatButton Classes="Warning" Theme="{DynamicResource SolidRepeatButton}">Warning</RepeatButton>
|
<RepeatButton Classes="Warning" Theme="{DynamicResource SolidRepeatButton}">Warning</RepeatButton>
|
||||||
<RepeatButton Classes="Danger" Theme="{DynamicResource SolidRepeatButton}">Danger</RepeatButton>
|
<RepeatButton Classes="Danger" Theme="{DynamicResource SolidRepeatButton}">Danger</RepeatButton>
|
||||||
<RepeatButton
|
<RepeatButton
|
||||||
@@ -36,6 +38,7 @@
|
|||||||
<RepeatButton Classes="Primary" Theme="{DynamicResource BorderlessRepeatButton}">Primary</RepeatButton>
|
<RepeatButton Classes="Primary" Theme="{DynamicResource BorderlessRepeatButton}">Primary</RepeatButton>
|
||||||
<RepeatButton Classes="Secondary" Theme="{DynamicResource BorderlessRepeatButton}">Secondary</RepeatButton>
|
<RepeatButton Classes="Secondary" Theme="{DynamicResource BorderlessRepeatButton}">Secondary</RepeatButton>
|
||||||
<RepeatButton Classes="Tertiary" Theme="{DynamicResource BorderlessRepeatButton}">Tertiary</RepeatButton>
|
<RepeatButton Classes="Tertiary" Theme="{DynamicResource BorderlessRepeatButton}">Tertiary</RepeatButton>
|
||||||
|
<RepeatButton Classes="Success" Theme="{DynamicResource BorderlessRepeatButton}">Success</RepeatButton>
|
||||||
<RepeatButton Classes="Warning" Theme="{DynamicResource BorderlessRepeatButton}">Warning</RepeatButton>
|
<RepeatButton Classes="Warning" Theme="{DynamicResource BorderlessRepeatButton}">Warning</RepeatButton>
|
||||||
<RepeatButton Classes="Danger" Theme="{DynamicResource BorderlessRepeatButton}">Danger</RepeatButton>
|
<RepeatButton Classes="Danger" Theme="{DynamicResource BorderlessRepeatButton}">Danger</RepeatButton>
|
||||||
<RepeatButton
|
<RepeatButton
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<Rectangle
|
<Rectangle
|
||||||
Width="300"
|
Width="300"
|
||||||
Height="300"
|
Height="300"
|
||||||
Fill="#FEFBCB" />
|
Fill="{DynamicResource SemiYellow2}" />
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
<ScrollViewer
|
<ScrollViewer
|
||||||
Width="200"
|
Width="200"
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<Rectangle
|
<Rectangle
|
||||||
Width="300"
|
Width="300"
|
||||||
Height="300"
|
Height="300"
|
||||||
Fill="#FEFBCB" />
|
Fill="{DynamicResource SemiYellow2}" />
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:vm="clr-namespace:Semi.Avalonia.Demo.Pages"
|
||||||
d:DesignHeight="450"
|
d:DesignHeight="450"
|
||||||
d:DesignWidth="800"
|
d:DesignWidth="800"
|
||||||
|
x:CompileBindings="True"
|
||||||
|
x:DataType="vm:TreeViewVm"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Panel HorizontalAlignment="Left">
|
<StackPanel HorizontalAlignment="Left">
|
||||||
<TreeView>
|
<TreeView>
|
||||||
<TreeViewItem Header="Level 1">
|
<TreeViewItem Header="Level 1">
|
||||||
<TreeViewItem Header="Level 2" />
|
<TreeViewItem Header="Level 2" />
|
||||||
@@ -42,5 +45,12 @@
|
|||||||
</TreeViewItem>
|
</TreeViewItem>
|
||||||
</TreeViewItem>
|
</TreeViewItem>
|
||||||
</TreeView>
|
</TreeView>
|
||||||
</Panel>
|
<TreeView ItemsSource="{Binding Items}">
|
||||||
|
<TreeView.ItemTemplate>
|
||||||
|
<TreeDataTemplate ItemsSource="{Binding Items}">
|
||||||
|
<TextBlock Text="{Binding Name}" />
|
||||||
|
</TreeDataTemplate>
|
||||||
|
</TreeView.ItemTemplate>
|
||||||
|
</TreeView>
|
||||||
|
</StackPanel>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
using Avalonia.Markup.Xaml;
|
using Avalonia.Markup.Xaml;
|
||||||
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
|
||||||
namespace Semi.Avalonia.Demo.Pages;
|
namespace Semi.Avalonia.Demo.Pages;
|
||||||
|
|
||||||
@@ -9,5 +11,34 @@ public partial class TreeViewDemo : UserControl
|
|||||||
public TreeViewDemo()
|
public TreeViewDemo()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
this.DataContext = new TreeViewVm();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class TreeViewVm : ObservableObject
|
||||||
|
{
|
||||||
|
public ObservableCollection<TreeViewItemVm> Items { get; set; }
|
||||||
|
|
||||||
|
public TreeViewVm()
|
||||||
|
{
|
||||||
|
Items = new ObservableCollection<TreeViewItemVm>()
|
||||||
|
{
|
||||||
|
new TreeViewItemVm() {Name = "Item 1", Id = "1"},
|
||||||
|
new TreeViewItemVm() {Name = "Item 2", Id = "2"},
|
||||||
|
new TreeViewItemVm() {Name = "Item 3", Id = "3", Items = new ObservableCollection<TreeViewItemVm>()
|
||||||
|
{
|
||||||
|
new TreeViewItemVm() {Name = "Item 3.1", Id = "3.1"},
|
||||||
|
new TreeViewItemVm() {Name = "Item 3.2", Id = "3.2"},
|
||||||
|
new TreeViewItemVm() {Name = "Item 3.3", Id = "3.3"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public partial class TreeViewItemVm : ObservableObject
|
||||||
|
{
|
||||||
|
public ObservableCollection<TreeViewItemVm> Items { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Id { get; set; }
|
||||||
}
|
}
|
||||||
@@ -123,6 +123,9 @@
|
|||||||
<TabItem Header="GridSplitter">
|
<TabItem Header="GridSplitter">
|
||||||
<pages:GridSplitter />
|
<pages:GridSplitter />
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
<TabItem Header="HeaderedContentControl">
|
||||||
|
<pages:HeaderedContentControlDemo />
|
||||||
|
</TabItem>
|
||||||
<TabItem Header="Label">
|
<TabItem Header="Label">
|
||||||
<pages:LabelDemo />
|
<pages:LabelDemo />
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<LangVersion>10</LangVersion>
|
<LangVersion>10</LangVersion>
|
||||||
<Version>0.1.0-preview8</Version>
|
<Version>11.0.0-rc1</Version>
|
||||||
<Authors>IRIHI Technology</Authors>
|
<Authors>IRIHI Technology</Authors>
|
||||||
<Description>Avalonia Theme inspired by Semi Design. </Description>
|
<Description>Avalonia Theme inspired by Semi Design. </Description>
|
||||||
<PackageProjectUrl>https://github.com/irihitech/Semi.Avalonia</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/irihitech/Semi.Avalonia</PackageProjectUrl>
|
||||||
<AvaloniaVersion>11.0.0-preview8</AvaloniaVersion>
|
<AvaloniaVersion>11.0.0-rc1.1</AvaloniaVersion>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -135,8 +135,8 @@
|
|||||||
ColorComponent="{Binding ThirdComponent, ElementName=ColorSpectrum}"
|
ColorComponent="{Binding ThirdComponent, ElementName=ColorSpectrum}"
|
||||||
ColorModel="Hsva"
|
ColorModel="Hsva"
|
||||||
HsvColor="{Binding HsvColor, ElementName=ColorSpectrum}"
|
HsvColor="{Binding HsvColor, ElementName=ColorSpectrum}"
|
||||||
IsAlphaMaxForced="True"
|
IsAlphaVisible="True"
|
||||||
IsSaturationValueMaxForced="False"
|
IsPerceptive="False"
|
||||||
IsVisible="{TemplateBinding IsColorSpectrumSliderVisible}"
|
IsVisible="{TemplateBinding IsColorSpectrumSliderVisible}"
|
||||||
Orientation="Vertical" />
|
Orientation="Vertical" />
|
||||||
<primitives:ColorSpectrum
|
<primitives:ColorSpectrum
|
||||||
|
|||||||
@@ -227,8 +227,8 @@
|
|||||||
ColorComponent="{Binding ThirdComponent, ElementName=ColorSpectrum}"
|
ColorComponent="{Binding ThirdComponent, ElementName=ColorSpectrum}"
|
||||||
ColorModel="Hsva"
|
ColorModel="Hsva"
|
||||||
HsvColor="{Binding HsvColor, ElementName=ColorSpectrum}"
|
HsvColor="{Binding HsvColor, ElementName=ColorSpectrum}"
|
||||||
IsAlphaMaxForced="True"
|
IsAlphaVisible="True"
|
||||||
IsSaturationValueMaxForced="False"
|
IsPerceptive="False"
|
||||||
IsVisible="{TemplateBinding IsColorSpectrumSliderVisible}"
|
IsVisible="{TemplateBinding IsColorSpectrumSliderVisible}"
|
||||||
Orientation="Vertical" />
|
Orientation="Vertical" />
|
||||||
<primitives:ColorSpectrum
|
<primitives:ColorSpectrum
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Title>Semi.Avalonia.ColorPicker</Title>
|
<Title>Semi.Avalonia.ColorPicker</Title>
|
||||||
<PackageReleaseNotes>Update to Avalonia 11.0.0-preview8</PackageReleaseNotes>
|
<PackageReleaseNotes>Update to Avalonia 11.0.0-rc1</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Title>Semi.Avalonia.DataGrid</Title>
|
<Title>Semi.Avalonia.DataGrid</Title>
|
||||||
<PackageReleaseNotes>Update to Avalonia 11.0.0-preview8</PackageReleaseNotes>
|
<PackageReleaseNotes>Update to Avalonia 11.0.0-rc1</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Expander.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Expander.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Controls/FlyoutPresenter.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/FlyoutPresenter.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Controls/GridSplitter.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/GridSplitter.axaml" />
|
||||||
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/HeaderedContentControl.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ItemsControl.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ItemsControl.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Label.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/Label.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ListBox.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Controls/ListBox.axaml" />
|
||||||
|
|||||||
49
src/Semi.Avalonia/Controls/HeaderedContentControl.axaml
Normal file
49
src/Semi.Avalonia/Controls/HeaderedContentControl.axaml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
<ResourceDictionary
|
||||||
|
xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
x:CompileBindings="True">
|
||||||
|
<ControlTheme x:Key="GroupBox" TargetType="HeaderedContentControl">
|
||||||
|
<Setter Property="Background" Value="{DynamicResource HeaderedContentControlDefaultBackground}" />
|
||||||
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource HeaderedContentControlDefaultBorderBrush}" />
|
||||||
|
<Setter Property="CornerRadius" Value="{DynamicResource HeaderedContentControlCornerRadius}" />
|
||||||
|
<Setter Property="Width" Value="400" />
|
||||||
|
<Setter Property="Height" Value="200" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Stretch" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<ControlTemplate TargetType="HeaderedContentControl">
|
||||||
|
<Border
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
|
VerticalAlignment="Stretch"
|
||||||
|
Width="{TemplateBinding Width}"
|
||||||
|
Height="{TemplateBinding Height}"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}">
|
||||||
|
<Grid RowDefinitions="Auto,Auto,*">
|
||||||
|
<ContentPresenter
|
||||||
|
Grid.Row="0"
|
||||||
|
FontWeight="Bold"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Stretch"
|
||||||
|
Content="{TemplateBinding Header}"
|
||||||
|
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
||||||
|
Margin="16" />
|
||||||
|
<Rectangle
|
||||||
|
Grid.Row="1"
|
||||||
|
Fill="{TemplateBinding BorderBrush}"
|
||||||
|
Height="1" />
|
||||||
|
<ContentPresenter
|
||||||
|
Grid.Row="2"
|
||||||
|
Content="{TemplateBinding Content}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
Margin="16" />
|
||||||
|
</Grid>
|
||||||
|
</Border>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter>
|
||||||
|
</ControlTheme>
|
||||||
|
</ResourceDictionary>
|
||||||
@@ -342,6 +342,7 @@
|
|||||||
<Setter Property="Label.Foreground" Value="{DynamicResource LabelTagGhostYellowForeground}" />
|
<Setter Property="Label.Foreground" Value="{DynamicResource LabelTagGhostYellowForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^.White">
|
<Style Selector="^.White">
|
||||||
|
<Setter Property="Label.Background" Value="{DynamicResource LabelTagGhostWhiteBackground}" />
|
||||||
<Setter Property="Label.Foreground" Value="{DynamicResource LabelTagGhostWhiteForeground}" />
|
<Setter Property="Label.Foreground" Value="{DynamicResource LabelTagGhostWhiteForeground}" />
|
||||||
<Setter Property="Label.BorderBrush" Value="{DynamicResource LabelTagGhostWhiteBorderBrush}" />
|
<Setter Property="Label.BorderBrush" Value="{DynamicResource LabelTagGhostWhiteBorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|||||||
@@ -214,13 +214,14 @@
|
|||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
HorizontalSnapPointsAlignment="{TemplateBinding HorizontalSnapPointsAlignment}"
|
HorizontalSnapPointsAlignment="{TemplateBinding HorizontalSnapPointsAlignment}"
|
||||||
HorizontalSnapPointsType="{TemplateBinding HorizontalSnapPointsType}"
|
HorizontalSnapPointsType="{TemplateBinding HorizontalSnapPointsType}"
|
||||||
|
ScrollViewer.IsScrollInertiaEnabled="{TemplateBinding IsScrollInertiaEnabled}"
|
||||||
VerticalSnapPointsAlignment="{TemplateBinding VerticalSnapPointsAlignment}"
|
VerticalSnapPointsAlignment="{TemplateBinding VerticalSnapPointsAlignment}"
|
||||||
VerticalSnapPointsType="{TemplateBinding VerticalSnapPointsType}">
|
VerticalSnapPointsType="{TemplateBinding VerticalSnapPointsType}">
|
||||||
<ScrollContentPresenter.GestureRecognizers>
|
<ScrollContentPresenter.GestureRecognizers>
|
||||||
<ScrollGestureRecognizer
|
<ScrollGestureRecognizer
|
||||||
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
|
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
|
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
IsScrollInertiaEnabled="{Binding IsScrollInertiaEnabled, RelativeSource={RelativeSource TemplatedParent}}" />
|
IsScrollInertiaEnabled="{Binding (ScrollViewer.IsScrollInertiaEnabled), ElementName=PART_ContentPresenter}" />
|
||||||
</ScrollContentPresenter.GestureRecognizers>
|
</ScrollContentPresenter.GestureRecognizers>
|
||||||
</ScrollContentPresenter>
|
</ScrollContentPresenter>
|
||||||
<ScrollBar
|
<ScrollBar
|
||||||
@@ -263,13 +264,14 @@
|
|||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
HorizontalSnapPointsAlignment="{TemplateBinding HorizontalSnapPointsAlignment}"
|
HorizontalSnapPointsAlignment="{TemplateBinding HorizontalSnapPointsAlignment}"
|
||||||
HorizontalSnapPointsType="{TemplateBinding HorizontalSnapPointsType}"
|
HorizontalSnapPointsType="{TemplateBinding HorizontalSnapPointsType}"
|
||||||
|
ScrollViewer.IsScrollInertiaEnabled="{TemplateBinding IsScrollInertiaEnabled}"
|
||||||
VerticalSnapPointsAlignment="{TemplateBinding VerticalSnapPointsAlignment}"
|
VerticalSnapPointsAlignment="{TemplateBinding VerticalSnapPointsAlignment}"
|
||||||
VerticalSnapPointsType="{TemplateBinding VerticalSnapPointsType}">
|
VerticalSnapPointsType="{TemplateBinding VerticalSnapPointsType}">
|
||||||
<ScrollContentPresenter.GestureRecognizers>
|
<ScrollContentPresenter.GestureRecognizers>
|
||||||
<ScrollGestureRecognizer
|
<ScrollGestureRecognizer
|
||||||
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
|
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
|
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
IsScrollInertiaEnabled="{Binding IsScrollInertiaEnabled, RelativeSource={RelativeSource TemplatedParent}}" />
|
IsScrollInertiaEnabled="{Binding (ScrollViewer.IsScrollInertiaEnabled), ElementName=PART_ContentPresenter}" />
|
||||||
</ScrollContentPresenter.GestureRecognizers>
|
</ScrollContentPresenter.GestureRecognizers>
|
||||||
</ScrollContentPresenter>
|
</ScrollContentPresenter>
|
||||||
<ScrollBar
|
<ScrollBar
|
||||||
|
|||||||
@@ -5,17 +5,29 @@
|
|||||||
<ControlTheme x:Key="{x:Type TransitioningContentControl}" TargetType="TransitioningContentControl">
|
<ControlTheme x:Key="{x:Type TransitioningContentControl}" TargetType="TransitioningContentControl">
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<ContentPresenter
|
<Panel>
|
||||||
Name="PART_ContentPresenter"
|
<ContentPresenter
|
||||||
Padding="{TemplateBinding Padding}"
|
Name="PART_ContentPresenter"
|
||||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
Padding="{TemplateBinding Padding}"
|
||||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
Background="{TemplateBinding Background}"
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
Background="{TemplateBinding Background}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
Content="{TemplateBinding CurrentContent}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
ContentTemplate="{TemplateBinding ContentTemplate}"
|
Content="{TemplateBinding Content}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}" />
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
CornerRadius="{TemplateBinding CornerRadius}" />
|
||||||
|
<ContentPresenter
|
||||||
|
Name="PART_TransitionContentPresenter"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
CornerRadius="{TemplateBinding CornerRadius}" />
|
||||||
|
</Panel>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|||||||
@@ -131,6 +131,7 @@
|
|||||||
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
||||||
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
||||||
Content="{TemplateBinding Header}"
|
Content="{TemplateBinding Header}"
|
||||||
|
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
Foreground="{TemplateBinding Foreground}" />
|
Foreground="{TemplateBinding Foreground}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Title>Semi.Avalonia</Title>
|
<Title>Semi.Avalonia</Title>
|
||||||
<PackageReleaseNotes>Update to Avalonia 11.0.0-preview8</PackageReleaseNotes>
|
<PackageReleaseNotes>Update to Avalonia 11.0.0-rc1</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<!-- end Light -->
|
<!-- end Light -->
|
||||||
|
|
||||||
<!-- Solid -->
|
<!-- Solid -->
|
||||||
<SolidColorBrush x:Key="ButtonSolidForeground" Color="Black" />
|
<SolidColorBrush x:Key="ButtonSolidForeground" Color="White" />
|
||||||
<SolidColorBrush x:Key="ButtonSolidDisabledForeground" Color="Gray" />
|
<SolidColorBrush x:Key="ButtonSolidDisabledForeground" Color="Gray" />
|
||||||
|
|
||||||
<SolidColorBrush x:Key="ButtonSolidPrimaryBackground" Color="#54A9FF" />
|
<SolidColorBrush x:Key="ButtonSolidPrimaryBackground" Color="#54A9FF" />
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/DropDownButton.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/DropDownButton.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/Expander.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/Expander.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/GridSplitter.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/GridSplitter.axaml" />
|
||||||
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/HeaderedContentControl.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/Label.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/Label.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/ListBox.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/ListBox.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/ManagedFileChooser.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Dark/ManagedFileChooser.axaml" />
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
|
<SolidColorBrush x:Key="HeaderedContentControlDefaultBackground" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="HeaderedContentControlDefaultBorderBrush" Opacity="0.08" Color="#F9F9F9" />
|
||||||
|
<CornerRadius x:Key="HeaderedContentControlCornerRadius">4</CornerRadius>
|
||||||
|
</ResourceDictionary>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<ResourceDictionary
|
<ResourceDictionary
|
||||||
xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:sys="clr-namespace:System;assembly=System.Runtime">
|
xmlns:sys="clr-namespace:System;assembly=System.Runtime">
|
||||||
<!-- Typography related resources are combined with TextBlock -->
|
<!-- Typography related resources are combined with TextBlock -->
|
||||||
|
|
||||||
@@ -28,8 +29,8 @@
|
|||||||
<SolidColorBrush x:Key="LabelTagLightLightBlueBackground" Opacity="0.15" Color="#40B4F3" />
|
<SolidColorBrush x:Key="LabelTagLightLightBlueBackground" Opacity="0.15" Color="#40B4F3" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLightGreenForeground" Color="#E4F1D1" />
|
<SolidColorBrush x:Key="LabelTagLightLightGreenForeground" Color="#E4F1D1" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLightGreenBackground" Opacity="0.15" Color="#97C65F" />
|
<SolidColorBrush x:Key="LabelTagLightLightGreenBackground" Opacity="0.15" Color="#97C65F" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLimeForeground" Color="#AEDC3A" />
|
<SolidColorBrush x:Key="LabelTagLightLimeForeground" Color="#E5F6C9" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLimeBackground" Opacity="0.15" Color="#E5F6C9" />
|
<SolidColorBrush x:Key="LabelTagLightLimeBackground" Opacity="0.15" Color="#AEDC3A" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightOrangeForeground" Color="#FFEFD0" />
|
<SolidColorBrush x:Key="LabelTagLightOrangeForeground" Color="#FFEFD0" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightOrangeBackground" Opacity="0.15" Color="#FFAE43" />
|
<SolidColorBrush x:Key="LabelTagLightOrangeBackground" Opacity="0.15" Color="#FFAE43" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightPinkForeground" Color="#FBD3DC" />
|
<SolidColorBrush x:Key="LabelTagLightPinkForeground" Color="#FBD3DC" />
|
||||||
@@ -40,13 +41,13 @@
|
|||||||
<SolidColorBrush x:Key="LabelTagLightRedBackground" Opacity="0.15" Color="#FC725A" />
|
<SolidColorBrush x:Key="LabelTagLightRedBackground" Opacity="0.15" Color="#FC725A" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightTealForeground" Color="#C4F0E8" />
|
<SolidColorBrush x:Key="LabelTagLightTealForeground" Color="#C4F0E8" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightTealBackground" Opacity="0.15" Color="#33C2B0" />
|
<SolidColorBrush x:Key="LabelTagLightTealBackground" Opacity="0.15" Color="#33C2B0" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightVioletForeground" Color="#8865D4" />
|
<SolidColorBrush x:Key="LabelTagLightVioletForeground" Color="#DDD4F4" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightVioletBackground" Opacity="0.15" Color="#DDD4F4" />
|
<SolidColorBrush x:Key="LabelTagLightVioletBackground" Opacity="0.15" Color="#8865D4" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightYellowForeground" Color="#FEFBD0" />
|
<SolidColorBrush x:Key="LabelTagLightYellowForeground" Color="#FEFBD0" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightYellowBackground" Opacity="0.15" Color="#FDDE43" />
|
<SolidColorBrush x:Key="LabelTagLightYellowBackground" Opacity="0.15" Color="#FDDE43" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightWhiteForeground" Color="#F9F9F9" />
|
<SolidColorBrush x:Key="LabelTagLightWhiteBackground" Color="#4F5159" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightWhiteBackground" Opacity="0.15" Color="#4F5159" />
|
|
||||||
<SolidColorBrush x:Key="LabelTagLightWhiteBorderBrush" Color="#41464C" />
|
<SolidColorBrush x:Key="LabelTagLightWhiteBorderBrush" Color="#41464C" />
|
||||||
|
<SolidColorBrush x:Key="LabelTagLightWhiteForeground" Color="#F9F9F9" />
|
||||||
|
|
||||||
<SolidColorBrush x:Key="LabelTagGhostAmberBorderBrush" Color="#F2B726" />
|
<SolidColorBrush x:Key="LabelTagGhostAmberBorderBrush" Color="#F2B726" />
|
||||||
<SolidColorBrush x:Key="LabelTagGhostAmberForeground" Color="#F5CA50" />
|
<SolidColorBrush x:Key="LabelTagGhostAmberForeground" Color="#F5CA50" />
|
||||||
@@ -80,10 +81,11 @@
|
|||||||
<SolidColorBrush x:Key="LabelTagGhostVioletForeground" Color="#8865D4" />
|
<SolidColorBrush x:Key="LabelTagGhostVioletForeground" Color="#8865D4" />
|
||||||
<SolidColorBrush x:Key="LabelTagGhostYellowBorderBrush" Color="#FCCE14" />
|
<SolidColorBrush x:Key="LabelTagGhostYellowBorderBrush" Color="#FCCE14" />
|
||||||
<SolidColorBrush x:Key="LabelTagGhostYellowForeground" Color="#FDDE43" />
|
<SolidColorBrush x:Key="LabelTagGhostYellowForeground" Color="#FDDE43" />
|
||||||
|
<SolidColorBrush x:Key="LabelTagGhostWhiteBackground" Color="#4F5159" />
|
||||||
<SolidColorBrush x:Key="LabelTagGhostWhiteBorderBrush" Color="#41464C" />
|
<SolidColorBrush x:Key="LabelTagGhostWhiteBorderBrush" Color="#41464C" />
|
||||||
<SolidColorBrush x:Key="LabelTagGhostWhiteForeground" Color="#F9F9F9" />
|
<SolidColorBrush x:Key="LabelTagGhostWhiteForeground" Color="#F9F9F9" />
|
||||||
|
|
||||||
<SolidColorBrush x:Key="LabelTagSolidForeground" Color="#000000" />
|
<SolidColorBrush x:Key="LabelTagSolidForeground" Color="White" />
|
||||||
<SolidColorBrush x:Key="LabelTagSolidAmberBackground" Color="#F5CA50" />
|
<SolidColorBrush x:Key="LabelTagSolidAmberBackground" Color="#F5CA50" />
|
||||||
<SolidColorBrush x:Key="LabelTagSolidBlueBackground" Color="#54A9FF" />
|
<SolidColorBrush x:Key="LabelTagSolidBlueBackground" Color="#54A9FF" />
|
||||||
<SolidColorBrush x:Key="LabelTagSolidCyanBackground" Color="#38BBC6" />
|
<SolidColorBrush x:Key="LabelTagSolidCyanBackground" Color="#38BBC6" />
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<SolidColorBrush x:Key="ToggleButtonWarningCheckedPressedBackground" Color="#FFDDA1" />
|
<SolidColorBrush x:Key="ToggleButtonWarningCheckedPressedBackground" Color="#FFDDA1" />
|
||||||
<SolidColorBrush x:Key="ToggleButtonDangerCheckedPressedBackground" Color="#FDBEAC" />
|
<SolidColorBrush x:Key="ToggleButtonDangerCheckedPressedBackground" Color="#FDBEAC" />
|
||||||
|
|
||||||
<SolidColorBrush x:Key="ToggleButtonCheckedForeground" Color="Black" />
|
<SolidColorBrush x:Key="ToggleButtonCheckedForeground" Color="White" />
|
||||||
|
|
||||||
<SolidColorBrush x:Key="ToggleButtonPrimaryIndeterminateBackground" Color="#053170" />
|
<SolidColorBrush x:Key="ToggleButtonPrimaryIndeterminateBackground" Color="#053170" />
|
||||||
<SolidColorBrush x:Key="ToggleButtonSecondaryIndeterminateBackground" Color="#003761" />
|
<SolidColorBrush x:Key="ToggleButtonSecondaryIndeterminateBackground" Color="#003761" />
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
|
<SolidColorBrush x:Key="HeaderedContentControlDefaultBackground" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="HeaderedContentControlDefaultBorderBrush" Opacity="0.08" Color="#1C1F23" />
|
||||||
|
<CornerRadius x:Key="HeaderedContentControlCornerRadius">4</CornerRadius>
|
||||||
|
</ResourceDictionary>
|
||||||
@@ -28,8 +28,8 @@
|
|||||||
<SolidColorBrush x:Key="LabelTagLightLightBlueBackground" Opacity="0.15" Color="#0095EE" />
|
<SolidColorBrush x:Key="LabelTagLightLightBlueBackground" Opacity="0.15" Color="#0095EE" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLightGreenForeground" Color="#395B1B" />
|
<SolidColorBrush x:Key="LabelTagLightLightGreenForeground" Color="#395B1B" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLightGreenBackground" Opacity="0.15" Color="#7BB63C" />
|
<SolidColorBrush x:Key="LabelTagLightLightGreenBackground" Opacity="0.15" Color="#7BB63C" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLimeForeground" Color="#9BD100" />
|
<SolidColorBrush x:Key="LabelTagLightLimeForeground" Color="#486800" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightLimeBackground" Opacity="0.15" Color="#486800" />
|
<SolidColorBrush x:Key="LabelTagLightLimeBackground" Opacity="0.15" Color="#9BD100" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightOrangeForeground" Color="#7E3100" />
|
<SolidColorBrush x:Key="LabelTagLightOrangeForeground" Color="#7E3100" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightOrangeBackground" Opacity="0.15" Color="#FC8800" />
|
<SolidColorBrush x:Key="LabelTagLightOrangeBackground" Opacity="0.15" Color="#FC8800" />
|
||||||
<SolidColorBrush x:Key="LabelTagLightPinkForeground" Color="#7E053A" />
|
<SolidColorBrush x:Key="LabelTagLightPinkForeground" Color="#7E053A" />
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/DropDownButton.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/DropDownButton.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/Expander.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/Expander.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/GridSplitter.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/GridSplitter.axaml" />
|
||||||
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/HeaderedContentControl.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/Label.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/Label.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/ListBox.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/ListBox.axaml" />
|
||||||
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/ManagedFileChooser.axaml" />
|
<ResourceInclude Source="avares://Semi.Avalonia/Themes/Light/ManagedFileChooser.axaml" />
|
||||||
|
|||||||
Reference in New Issue
Block a user