diff --git a/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml index 3eb407d..9e6f238 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml @@ -2,8 +2,7 @@ x:Class="Semi.Avalonia.Demo.Pages.ColorPickerDemo" xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:colorPicker="clr-namespace:Semi.Avalonia.ColorPicker;assembly=Semi.Avalonia.ColorPicker" - xmlns:controls="using:Avalonia.Controls" + xmlns:semi="https://irihi.tech/semi" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="1450" @@ -33,12 +32,12 @@ - + - + @@ -47,7 +46,7 @@ ColorSpectrumShape="Box" Theme="{DynamicResource HexColorPicker}"> - + diff --git a/src/Semi.Avalonia.ColorPicker/AssemblyInfo.cs b/src/Semi.Avalonia.ColorPicker/AssemblyInfo.cs new file mode 100644 index 0000000..2c1c8f9 --- /dev/null +++ b/src/Semi.Avalonia.ColorPicker/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using Avalonia.Metadata; + +[assembly: XmlnsDefinition("https://irihi.tech/semi", "Semi.Avalonia.ColorPicker")] \ No newline at end of file diff --git a/src/Semi.Avalonia.ColorPicker/Shared.axaml b/src/Semi.Avalonia.ColorPicker/Shared.axaml index 0b4d319..6c95410 100644 --- a/src/Semi.Avalonia.ColorPicker/Shared.axaml +++ b/src/Semi.Avalonia.ColorPicker/Shared.axaml @@ -1,7 +1,7 @@  + xmlns:semi="https://irihi.tech/semi"> 600 16 4 70 @@ -23,7 +23,7 @@ 48 3 - + AnchorAndGravity BottomEdgeAlignedLeft