tidy TagControl template.
MODIFY
WalletWasabi.Fluent/Controls/TagControl.axaml
WalletWasabi.Fluent/Controls/TagControl.axaml
xmlns:c="using:WalletWasabi.Fluent.Controls">
<Design.PreviewWith>
<Border Padding="10">
- <c:TagControl Content="Test" Background="Transparent" BorderBrush="Transparent" />
+ <c:TagControl Content="Test" />
</Border>
</Design.PreviewWith>
<Style Selector="c|TagControl">
<Setter Property="Foreground" Value="{DynamicResource TextControlForeground}" />
- <Setter Property="Background" Value="{DynamicResource TextControlBackground}" />
- <Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}" />
- <Setter Property="BorderThickness" Value="{DynamicResource TextControlBorderThemeThickness}" />
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="BorderBrush" Value="{DynamicResource TagsBoxControlForeground}" />
+ <Setter Property="BorderThickness" Value="1" />
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" />
<Setter Property="Template">
<ControlTemplate>
<Panel>
<Panel Name="PART_TagPanel">
<Border Name="PART_TagItemBorder"
- Background="Transparent"
- BorderBrush="{DynamicResource TagsBoxControlForeground}"
- BorderThickness="1"
- CornerRadius="2"
- Opacity="0.25"
- Height="{Binding #PART_DummyPanel.Bounds.Height}"
- VerticalAlignment="Top" />
- <StackPanel Name="PART_DummyPanel" Orientation="Horizontal"
- VerticalAlignment="Top">
- <ContentPresenter Name="PART_ContentPresenter"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
+ CornerRadius="2" />
+ <StackPanel Name="PART_DummyPanel" Orientation="Horizontal"
+ VerticalAlignment="Top">
+ <ContentPresenter Name="PART_ContentPresenter"
ContentTemplate="{TemplateBinding ContentTemplate}"
Content="{TemplateBinding Content}"
Padding="{TemplateBinding Padding}"

MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml
WalletWasabi.Fluent/Controls/TagsBox.axaml
</ItemsPanelTemplate>
</ItemsPresenter.ItemsPanel>
<ItemsPresenter.ItemTemplate>
- <DataTemplate x:DataType="x:String">
+ <DataTemplate>
<c:TagControl Content="{Binding .}"/>
</DataTemplate>
</ItemsPresenter.ItemTemplate>

MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseDark.axaml
WalletWasabi.Fluent/Styles/Themes/BaseDark.axaml
<SolidColorBrush x:Key="DialogOverlayColor">#7F2E2E2E</SolidColorBrush>
<BoxShadows x:Key="DialogBoxShadow">4 11 30 1 #3F000000</BoxShadows>
- <StaticResource x:Key="TagsBoxControlForeground" ResourceKey="TextControlForeground" />
+ <SolidColorBrush x:Key="TagsBoxControlForeground">#7FFFFFFF</SolidColorBrush>
<Color x:Key="RegionColor">#FF212121</Color>
<BoxShadows x:Key="BoxShadow">0 1 4 #121212</BoxShadows>

MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseLight.axaml
WalletWasabi.Fluent/Styles/Themes/BaseLight.axaml
<SolidColorBrush x:Key="DialogOverlayColor">#7F7A7A7A</SolidColorBrush>
<BoxShadows x:Key="DialogBoxShadow">4 11 30 1 #3F000000</BoxShadows>
- <StaticResource x:Key="TagsBoxControlForeground" ResourceKey="TextControlForeground" />
+ <SolidColorBrush x:Key="TagsBoxControlForeground">#7F000000</SolidColorBrush>
<Color x:Key="RegionColor">#FFFAFAFA</Color>
<BoxShadows x:Key="BoxShadow">0 1 4 #D1D1D1</BoxShadows>

tidy TagControl template.