feat: update dialog related background colors.
This commit is contained in:
@@ -200,6 +200,7 @@
|
|||||||
<Grid Grid.Column="1">
|
<Grid Grid.Column="1">
|
||||||
<Border
|
<Border
|
||||||
BorderBrush="{DynamicResource SemiGrey1}"
|
BorderBrush="{DynamicResource SemiGrey1}"
|
||||||
|
Background="{DynamicResource SemiColorBackground1}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
ClipToBounds="True"
|
ClipToBounds="True"
|
||||||
CornerRadius="12">
|
CornerRadius="12">
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
<Grid Grid.Column="1" ClipToBounds="True">
|
<Grid Grid.Column="1" ClipToBounds="True">
|
||||||
<Border
|
<Border
|
||||||
BorderBrush="{DynamicResource SemiGrey1}"
|
BorderBrush="{DynamicResource SemiGrey1}"
|
||||||
|
Background="{DynamicResource SemiColorBackground1}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
ClipToBounds="True"
|
ClipToBounds="True"
|
||||||
CornerRadius="20">
|
CornerRadius="20">
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
||||||
Classes="Shadow"
|
Classes="Shadow"
|
||||||
ClipToBounds="False"
|
ClipToBounds="False"
|
||||||
|
Background="{DynamicResource SemiColorBackground2}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
Focusable="True"
|
Focusable="True"
|
||||||
IsHitTestVisible="True"
|
IsHitTestVisible="True"
|
||||||
@@ -162,6 +163,7 @@
|
|||||||
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
||||||
BoxShadow="0 0 8 0 #1A000000"
|
BoxShadow="0 0 8 0 #1A000000"
|
||||||
Classes="Shadow"
|
Classes="Shadow"
|
||||||
|
Background="{DynamicResource SemiColorBackground2}"
|
||||||
ClipToBounds="False"
|
ClipToBounds="False"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
Focusable="True"
|
Focusable="True"
|
||||||
@@ -463,7 +465,7 @@
|
|||||||
|
|
||||||
<ControlTheme x:Key="{x:Type u:DialogWindow}" TargetType="u:DialogWindow">
|
<ControlTheme x:Key="{x:Type u:DialogWindow}" TargetType="u:DialogWindow">
|
||||||
<Setter Property="Title" Value="{x:Null}" />
|
<Setter Property="Title" Value="{x:Null}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource BorderCardBackground}" />
|
<Setter Property="Background" Value="{DynamicResource SemiColorBackground2}" />
|
||||||
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
||||||
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
||||||
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
||||||
@@ -535,7 +537,7 @@
|
|||||||
|
|
||||||
<ControlTheme x:Key="{x:Type u:DefaultDialogWindow}" TargetType="u:DefaultDialogWindow">
|
<ControlTheme x:Key="{x:Type u:DefaultDialogWindow}" TargetType="u:DefaultDialogWindow">
|
||||||
<Setter Property="Title" Value="{x:Null}" />
|
<Setter Property="Title" Value="{x:Null}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource BorderCardBackground}" />
|
<Setter Property="Background" Value="{DynamicResource SemiColorBackground2}" />
|
||||||
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
||||||
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
||||||
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
Name="PART_Root"
|
Name="PART_Root"
|
||||||
Margin="{TemplateBinding Padding,
|
Margin="{TemplateBinding Padding,
|
||||||
Converter={x:Static c:ThicknessTakeConverter.Left}}"
|
Converter={x:Static c:ThicknessTakeConverter.Left}}"
|
||||||
|
Background="{DynamicResource SemiColorBackground2}"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
@@ -111,6 +112,7 @@
|
|||||||
Name="PART_Root"
|
Name="PART_Root"
|
||||||
Margin="{TemplateBinding Padding,
|
Margin="{TemplateBinding Padding,
|
||||||
Converter={x:Static c:ThicknessTakeConverter.Left}}"
|
Converter={x:Static c:ThicknessTakeConverter.Left}}"
|
||||||
|
Background="{DynamicResource SemiColorBackground2}"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<!-- Add Resources Here -->
|
<!-- Add Resources Here -->
|
||||||
<ControlTheme x:Key="{x:Type u:MessageBoxWindow}" TargetType="u:MessageBoxWindow">
|
<ControlTheme x:Key="{x:Type u:MessageBoxWindow}" TargetType="u:MessageBoxWindow">
|
||||||
<Setter Property="Title" Value="{x:Null}" />
|
<Setter Property="Title" Value="{x:Null}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource BorderCardBackground}" />
|
<Setter Property="Background" Value="{DynamicResource SemiColorBackground2}" />
|
||||||
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
||||||
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
||||||
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
||||||
@@ -178,6 +178,7 @@
|
|||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Classes="Shadow"
|
Classes="Shadow"
|
||||||
ClipToBounds="False"
|
ClipToBounds="False"
|
||||||
|
Background="{DynamicResource SemiColorBackground2}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
IsHitTestVisible="True"
|
IsHitTestVisible="True"
|
||||||
Theme="{DynamicResource CardBorder}">
|
Theme="{DynamicResource CardBorder}">
|
||||||
|
|||||||
Reference in New Issue
Block a user