diff --git a/src/Semi.Avalonia/Controls/FlyoutPresenter.axaml b/src/Semi.Avalonia/Controls/FlyoutPresenter.axaml
index 651916d..f39e3ee 100644
--- a/src/Semi.Avalonia/Controls/FlyoutPresenter.axaml
+++ b/src/Semi.Avalonia/Controls/FlyoutPresenter.axaml
@@ -12,6 +12,7 @@
+
@@ -37,7 +38,8 @@
VerticalContentAlignment="Stretch"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
- FontWeight="{TemplateBinding FontWeight}" />
+ FontWeight="{TemplateBinding FontWeight}"
+ TextElement.Foreground="{TemplateBinding Foreground}" />
diff --git a/src/Semi.Avalonia/Controls/NumericUpDown.axaml b/src/Semi.Avalonia/Controls/NumericUpDown.axaml
index eab646d..300bce6 100644
--- a/src/Semi.Avalonia/Controls/NumericUpDown.axaml
+++ b/src/Semi.Avalonia/Controls/NumericUpDown.axaml
@@ -18,8 +18,6 @@
ShowButtonSpinner="{TemplateBinding ShowButtonSpinner}">
+ Foreground="{DynamicResource TextBoxInnerForeground}"
+ IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=InnerLeftContent, Converter={x:Static ObjectConverters.IsNotNull}}" />
+ Foreground="{DynamicResource TextBoxInnerForeground}"
+ IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=InnerRightContent, Converter={x:Static ObjectConverters.IsNotNull}}" />
diff --git a/src/Semi.Avalonia/Controls/TreeView.axaml b/src/Semi.Avalonia/Controls/TreeView.axaml
index d278dbd..e0bc939 100644
--- a/src/Semi.Avalonia/Controls/TreeView.axaml
+++ b/src/Semi.Avalonia/Controls/TreeView.axaml
@@ -1,10 +1,12 @@
@@ -62,7 +64,9 @@
+ Focusable="True"
+ TemplatedControl.IsTemplateFocusTarget="True">
-
-
-
+
-
+
+
400
1
0 0 8 0 #1A000000
diff --git a/src/Semi.Avalonia/Themes/Light/TextBox.axaml b/src/Semi.Avalonia/Themes/Light/TextBox.axaml
index 6f1a2d4..1f8f813 100644
--- a/src/Semi.Avalonia/Themes/Light/TextBox.axaml
+++ b/src/Semi.Avalonia/Themes/Light/TextBox.axaml
@@ -38,7 +38,8 @@
0 3 3 0
0 0 0 0
- 8 0
+ 8 0 0 0
+ 0 0 8 0
8 0
1
diff --git a/src/Semi.Avalonia/Themes/Light/TreeView.axaml b/src/Semi.Avalonia/Themes/Light/TreeView.axaml
index ebd9289..a817083 100644
--- a/src/Semi.Avalonia/Themes/Light/TreeView.axaml
+++ b/src/Semi.Avalonia/Themes/Light/TreeView.axaml
@@ -1,5 +1,6 @@
20
8
@@ -19,6 +20,6 @@
- 0 0 8 0
- 8 4 0 4
+ 8 0
+ 0 4 0 4