修圆角
This commit is contained in:
lincube
2026-03-30 20:28:39 +08:00
parent 7a268489c9
commit 5804627f53
28 changed files with 69 additions and 69 deletions

View File

@@ -8,7 +8,7 @@
x:Class="LanMountainDesktop.Views.Components.AnalogClockWidget"> x:Class="LanMountainDesktop.Views.Components.AnalogClockWidget">
<Border x:Name="RootBorder" <Border x:Name="RootBorder"
CornerRadius="42" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Padding="14"> Padding="14">
<Border.Background> <Border.Background>

View File

@@ -19,7 +19,7 @@
RowSpacing="8"> RowSpacing="8">
<Border x:Name="WebViewHostBorder" <Border x:Name="WebViewHostBorder"
Grid.Row="0" Grid.Row="0"
CornerRadius="16" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
ClipToBounds="True" ClipToBounds="True"
Background="#FFFFFFFF" Background="#FFFFFFFF"
BorderBrush="#22000000" BorderBrush="#22000000"
@@ -52,7 +52,7 @@
<Border x:Name="AddressBarBorder" <Border x:Name="AddressBarBorder"
Grid.Row="1" Grid.Row="1"
CornerRadius="14" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#ECF2FA" Background="#ECF2FA"
BorderBrush="#22000000" BorderBrush="#22000000"
BorderThickness="1" BorderThickness="1"

View File

@@ -10,7 +10,7 @@
<Border x:Name="RootBorder" <Border x:Name="RootBorder"
Classes="surface-translucent-panel" Classes="surface-translucent-panel"
Padding="0" Padding="0"
CornerRadius="{DynamicResource DesignCornerRadiusComponent}"> CornerRadius="{DynamicResource DesignCornerRadiusXs}">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center"> VerticalAlignment="Center">

View File

@@ -94,7 +94,7 @@
Grid.Column="1" Grid.Column="1"
Width="160" Width="160"
Height="90" Height="90"
CornerRadius="16" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
ClipToBounds="True" ClipToBounds="True"
Background="#E6E6E6"> Background="#E6E6E6">
<Image x:Name="News1Image" <Image x:Name="News1Image"
@@ -122,7 +122,7 @@
Grid.Column="1" Grid.Column="1"
Width="160" Width="160"
Height="90" Height="90"
CornerRadius="16" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
ClipToBounds="True" ClipToBounds="True"
Background="#E6E6E6"> Background="#E6E6E6">
<Image x:Name="News2Image" <Image x:Name="News2Image"

View File

@@ -88,7 +88,7 @@
Grid.Row="2" Grid.Row="2"
Width="118" Width="118"
Height="3" Height="3"
CornerRadius="2" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Margin="0,0,0,10" Margin="0,0,0,10"
Background="#F0F0F0" /> Background="#F0F0F0" />

View File

@@ -16,7 +16,7 @@
<StackPanel x:Name="RootStackPanel" Spacing="16"> <StackPanel x:Name="RootStackPanel" Spacing="16">
<Border x:Name="CoverImageBorder" <Border x:Name="CoverImageBorder"
CornerRadius="12" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
ClipToBounds="True" ClipToBounds="True"
Background="#f8f5ec" Background="#f8f5ec"
PointerPressed="OnCoverImagePointerPressed" PointerPressed="OnCoverImagePointerPressed"
@@ -75,7 +75,7 @@
<Border x:Name="OverviewBorder" <Border x:Name="OverviewBorder"
Background="#f8f5ec" Background="#f8f5ec"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Padding="12" Padding="12"
Margin="0,0,0,8"> Margin="0,0,0,8">
<StackPanel x:Name="OverviewStackPanel" Spacing="12"/> <StackPanel x:Name="OverviewStackPanel" Spacing="12"/>
@@ -85,7 +85,7 @@
Content="展开更多新闻 ▼" Content="展开更多新闻 ▼"
FontSize="14" FontSize="14"
Padding="16,8" Padding="16,8"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Background="Transparent" Background="Transparent"
BorderBrush="#bb5649" BorderBrush="#bb5649"
BorderThickness="1" BorderThickness="1"

View File

@@ -75,7 +75,7 @@
Height="26" Height="26"
VerticalAlignment="Center" VerticalAlignment="Center"
Margin="0,0,8,0" Margin="0,0,8,0"
CornerRadius="3" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Background="#6BF2A497" /> Background="#6BF2A497" />
<TextBlock x:Name="AuthorTextBlock" <TextBlock x:Name="AuthorTextBlock"

View File

@@ -9,7 +9,7 @@
x:Class="LanMountainDesktop.Views.Components.DailyWord2x2Widget"> x:Class="LanMountainDesktop.Views.Components.DailyWord2x2Widget">
<Border x:Name="RootBorder" <Border x:Name="RootBorder"
CornerRadius="{DynamicResource DesignCornerRadiusComponent}" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="Transparent" Background="Transparent"
ClipToBounds="True" ClipToBounds="True"
BorderThickness="0" BorderThickness="0"

View File

@@ -87,7 +87,7 @@
Grid.Column="1" Grid.Column="1"
Background="{DynamicResource AdaptiveLayer2Brush}" Background="{DynamicResource AdaptiveLayer2Brush}"
BorderThickness="1" BorderThickness="1"
CornerRadius="24" CornerRadius="{DynamicResource DesignCornerRadiusLg}"
BoxShadow="0 8 18 #1A000000" BoxShadow="0 8 18 #1A000000"
Padding="14"> Padding="14">
<Grid x:Name="RightPanelGrid" <Grid x:Name="RightPanelGrid"

View File

@@ -9,7 +9,7 @@
<UserControl.Styles> <UserControl.Styles>
<Style Selector="Button"> <Style Selector="Button">
<Setter Property="CornerRadius" Value="16" /> <Setter Property="CornerRadius" Value="{DynamicResource DesignCornerRadiusSm}" />
<Setter Property="Background" Value="#F8F9FB" /> <Setter Property="Background" Value="#F8F9FB" />
<Setter Property="BorderBrush" Value="#00000000" /> <Setter Property="BorderBrush" Value="#00000000" />
<Setter Property="BorderThickness" Value="0" /> <Setter Property="BorderThickness" Value="0" />
@@ -40,7 +40,7 @@
<Border x:Name="FromCurrencyRowBorder" <Border x:Name="FromCurrencyRowBorder"
Grid.Row="0" Grid.Row="0"
Grid.Column="0" Grid.Column="0"
CornerRadius="16" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#F8F9FB" Background="#F8F9FB"
Padding="12,8" Padding="12,8"
PointerPressed="OnFromCurrencyRowPointerPressed"> PointerPressed="OnFromCurrencyRowPointerPressed">
@@ -81,7 +81,7 @@
<Border x:Name="ToCurrencyRowBorder" <Border x:Name="ToCurrencyRowBorder"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
CornerRadius="16" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#F8F9FB" Background="#F8F9FB"
Padding="12,8" Padding="12,8"
PointerPressed="OnToCurrencyRowPointerPressed"> PointerPressed="OnToCurrencyRowPointerPressed">
@@ -123,7 +123,7 @@
Grid.Row="0" Grid.Row="0"
Grid.RowSpan="2" Grid.RowSpan="2"
Grid.Column="1" Grid.Column="1"
CornerRadius="16" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#F8F9FB" Background="#F8F9FB"
BorderBrush="#00000000" BorderBrush="#00000000"
BorderThickness="0" BorderThickness="0"

View File

@@ -31,12 +31,12 @@
</Border> </Border>
<Border x:Name="BackgroundTintLayer" <Border x:Name="BackgroundTintLayer"
CornerRadius="28" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Opacity="0.12" /> Opacity="0.12" />
<Border x:Name="BackgroundLightLayer" <Border x:Name="BackgroundLightLayer"
CornerRadius="28" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Opacity="0.54"> Opacity="0.54">
<Border.Background> <Border.Background>
@@ -53,7 +53,7 @@
</Border> </Border>
<Border x:Name="BackgroundShadeLayer" <Border x:Name="BackgroundShadeLayer"
CornerRadius="28" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Opacity="0.70"> Opacity="0.70">
<Border.Background> <Border.Background>

View File

@@ -28,9 +28,9 @@
</Border.RenderTransform> </Border.RenderTransform>
</Border> </Border>
<Border x:Name="BackgroundTintLayer" CornerRadius="28" ClipToBounds="True" Opacity="0.12" /> <Border x:Name="BackgroundTintLayer" CornerRadius="{DynamicResource DesignCornerRadiusComponent}" ClipToBounds="True" Opacity="0.12" />
<Border x:Name="BackgroundLightLayer" CornerRadius="28" ClipToBounds="True" Opacity="0.52"> <Border x:Name="BackgroundLightLayer" CornerRadius="{DynamicResource DesignCornerRadiusComponent}" ClipToBounds="True" Opacity="0.52">
<Border.Background> <Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1"> <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#45FFFFFF" Offset="0" /> <GradientStop Color="#45FFFFFF" Offset="0" />
@@ -40,7 +40,7 @@
</Border.Background> </Border.Background>
</Border> </Border>
<Border x:Name="BackgroundShadeLayer" CornerRadius="28" ClipToBounds="True" Opacity="0.68"> <Border x:Name="BackgroundShadeLayer" CornerRadius="{DynamicResource DesignCornerRadiusComponent}" ClipToBounds="True" Opacity="0.68">
<Border.Background> <Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#00000000" Offset="0.42" /> <GradientStop Color="#00000000" Offset="0.42" />

View File

@@ -40,7 +40,7 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
<Border x:Name="NewsBadge" <Border x:Name="NewsBadge"
Background="#E24B2D" Background="#E24B2D"
CornerRadius="4" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Padding="6,2" Padding="6,2"
Margin="4,0,0,0" Margin="4,0,0,0"
VerticalAlignment="Center"> VerticalAlignment="Center">

View File

@@ -52,7 +52,7 @@
<Button x:Name="RefreshButton" <Button x:Name="RefreshButton"
Grid.Column="1" Grid.Column="1"
Padding="8,4" Padding="8,4"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Background="Transparent" Background="Transparent"
BorderBrush="#bb5649" BorderBrush="#bb5649"
BorderThickness="1" BorderThickness="1"

View File

@@ -28,9 +28,9 @@
</Border.RenderTransform> </Border.RenderTransform>
</Border> </Border>
<Border x:Name="BackgroundTintLayer" CornerRadius="28" ClipToBounds="True" Opacity="0.12" /> <Border x:Name="BackgroundTintLayer" CornerRadius="{DynamicResource DesignCornerRadiusComponent}" ClipToBounds="True" Opacity="0.12" />
<Border x:Name="BackgroundLightLayer" CornerRadius="28" ClipToBounds="True" Opacity="0.52"> <Border x:Name="BackgroundLightLayer" CornerRadius="{DynamicResource DesignCornerRadiusComponent}" ClipToBounds="True" Opacity="0.52">
<Border.Background> <Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1"> <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#45FFFFFF" Offset="0" /> <GradientStop Color="#45FFFFFF" Offset="0" />
@@ -40,7 +40,7 @@
</Border.Background> </Border.Background>
</Border> </Border>
<Border x:Name="BackgroundShadeLayer" CornerRadius="28" ClipToBounds="True" Opacity="0.68"> <Border x:Name="BackgroundShadeLayer" CornerRadius="{DynamicResource DesignCornerRadiusComponent}" ClipToBounds="True" Opacity="0.68">
<Border.Background> <Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#00000000" Offset="0.42" /> <GradientStop Color="#00000000" Offset="0.42" />

View File

@@ -91,10 +91,10 @@
</Image> </Image>
</Border> </Border>
<Border x:Name="DynamicGradientOverlay" <Border x:Name="DynamicGradientOverlay"
CornerRadius="30" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" /> ClipToBounds="True" />
<Border x:Name="DynamicSoftLightOverlay" <Border x:Name="DynamicSoftLightOverlay"
CornerRadius="30" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" /> ClipToBounds="True" />
</Grid> </Grid>
@@ -111,7 +111,7 @@
<Border x:Name="CoverBorder" <Border x:Name="CoverBorder"
Width="56" Width="56"
Height="56" Height="56"
CornerRadius="12" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
ClipToBounds="True" ClipToBounds="True"
BorderThickness="1" BorderThickness="1"
BorderBrush="#77FFFFFF" BorderBrush="#77FFFFFF"

View File

@@ -23,7 +23,7 @@
Height="300" Height="300"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
CornerRadius="34" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
BorderBrush="#00000000" BorderBrush="#00000000"
BorderThickness="0" BorderThickness="0"
Background="Transparent"> Background="Transparent">
@@ -65,7 +65,7 @@
Grid.Column="1" Grid.Column="1"
Width="2" Width="2"
Height="32" Height="32"
CornerRadius="1" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Background="#F14A40" Background="#F14A40"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" /> VerticalAlignment="Center" />
@@ -74,7 +74,7 @@
Grid.Column="2" Grid.Column="2"
Margin="4,0,0,0" Margin="4,0,0,0"
Height="2" Height="2"
CornerRadius="1" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Background="#A3A8B3" Background="#A3A8B3"
Opacity="0.55" Opacity="0.55"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"

View File

@@ -69,12 +69,12 @@
</Grid> </Grid>
<Border x:Name="PostItem1Host" <Border x:Name="PostItem1Host"
Grid.Row="1" Grid.Row="1"
Tag="0" Tag="0"
Background="#F7F8FA" Background="#F7F8FA"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Padding="8,6" Padding="8,6"
PointerPressed="OnPostItemPointerPressed"> PointerPressed="OnPostItemPointerPressed">
<Grid x:Name="PostItem1Grid" <Grid x:Name="PostItem1Grid"
ColumnDefinitions="Auto,*" ColumnDefinitions="Auto,*"
ColumnSpacing="8"> ColumnSpacing="8">

View File

@@ -29,7 +29,7 @@
<Border x:Name="ModeBadgeBorder" <Border x:Name="ModeBadgeBorder"
Grid.Column="1" Grid.Column="1"
Padding="8,3" Padding="8,3"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
BorderThickness="1" BorderThickness="1"
BorderBrush="#88FFFFFF" BorderBrush="#88FFFFFF"
Background="#553B82F6" Background="#553B82F6"
@@ -47,7 +47,7 @@
Grid.Row="1" Grid.Row="1"
Spacing="6"> Spacing="6">
<Border x:Name="SustainedRowBorder" <Border x:Name="SustainedRowBorder"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#2CFFFFFF" Background="#2CFFFFFF"
BorderBrush="#33FFFFFF" BorderBrush="#33FFFFFF"
BorderThickness="1" BorderThickness="1"
@@ -76,7 +76,7 @@
</Border> </Border>
<Border x:Name="TimeRowBorder" <Border x:Name="TimeRowBorder"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#2CFFFFFF" Background="#2CFFFFFF"
BorderBrush="#33FFFFFF" BorderBrush="#33FFFFFF"
BorderThickness="1" BorderThickness="1"
@@ -105,7 +105,7 @@
</Border> </Border>
<Border x:Name="SegmentRowBorder" <Border x:Name="SegmentRowBorder"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#2CFFFFFF" Background="#2CFFFFFF"
BorderBrush="#33FFFFFF" BorderBrush="#33FFFFFF"
BorderThickness="1" BorderThickness="1"

View File

@@ -29,7 +29,7 @@
<Border x:Name="ModeBadgeBorder" <Border x:Name="ModeBadgeBorder"
Grid.Column="1" Grid.Column="1"
Padding="8,3" Padding="8,3"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
BorderThickness="1" BorderThickness="1"
BorderBrush="#88FFFFFF" BorderBrush="#88FFFFFF"
Background="#553B82F6" Background="#553B82F6"
@@ -79,7 +79,7 @@
Spacing="6" Spacing="6"
VerticalAlignment="Center"> VerticalAlignment="Center">
<Border x:Name="CountCardBorder" <Border x:Name="CountCardBorder"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#2CFFFFFF" Background="#2CFFFFFF"
BorderBrush="#33FFFFFF" BorderBrush="#33FFFFFF"
BorderThickness="1" BorderThickness="1"
@@ -102,7 +102,7 @@
</Border> </Border>
<Border x:Name="DurationCardBorder" <Border x:Name="DurationCardBorder"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#2CFFFFFF" Background="#2CFFFFFF"
BorderBrush="#33FFFFFF" BorderBrush="#33FFFFFF"
BorderThickness="1" BorderThickness="1"

View File

@@ -20,7 +20,7 @@
ColumnSpacing="8"> ColumnSpacing="8">
<Border x:Name="StatusBadgeBorder" <Border x:Name="StatusBadgeBorder"
Padding="8,3" Padding="8,3"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Background="#7A0E2235" Background="#7A0E2235"
BorderBrush="#88FFFFFF" BorderBrush="#88FFFFFF"
BorderThickness="1" BorderThickness="1"

View File

@@ -39,7 +39,7 @@
<Border x:Name="ModeBadgeBorder" <Border x:Name="ModeBadgeBorder"
Grid.Column="2" Grid.Column="2"
Padding="8,3" Padding="8,3"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
BorderThickness="1" BorderThickness="1"
BorderBrush="#88FFFFFF" BorderBrush="#88FFFFFF"
Background="#553B82F6" Background="#553B82F6"

View File

@@ -31,7 +31,7 @@
<Border x:Name="ModeBadgeBorder" <Border x:Name="ModeBadgeBorder"
Grid.Column="1" Grid.Column="1"
Padding="8,3" Padding="8,3"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
BorderThickness="1" BorderThickness="1"
BorderBrush="#88FFFFFF" BorderBrush="#88FFFFFF"
Background="#553B82F6" Background="#553B82F6"
@@ -71,7 +71,7 @@
ColumnDefinitions="*,*,*" ColumnDefinitions="*,*,*"
ColumnSpacing="10"> ColumnSpacing="10">
<Border x:Name="AverageCardBorder" <Border x:Name="AverageCardBorder"
CornerRadius="12" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Background="#24FFFFFF" Background="#24FFFFFF"
BorderBrush="#2EFFFFFF" BorderBrush="#2EFFFFFF"
BorderThickness="1" BorderThickness="1"
@@ -96,7 +96,7 @@
<Border x:Name="MinimumCardBorder" <Border x:Name="MinimumCardBorder"
Grid.Column="1" Grid.Column="1"
CornerRadius="12" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Background="#24FFFFFF" Background="#24FFFFFF"
BorderBrush="#2EFFFFFF" BorderBrush="#2EFFFFFF"
BorderThickness="1" BorderThickness="1"
@@ -121,7 +121,7 @@
<Border x:Name="MaximumCardBorder" <Border x:Name="MaximumCardBorder"
Grid.Column="2" Grid.Column="2"
CornerRadius="12" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Background="#24FFFFFF" Background="#24FFFFFF"
BorderBrush="#2EFFFFFF" BorderBrush="#2EFFFFFF"
BorderThickness="1" BorderThickness="1"

View File

@@ -25,7 +25,7 @@
TextTrimming="CharacterEllipsis" /> TextTrimming="CharacterEllipsis" />
<Border Grid.Row="1" <Border Grid.Row="1"
CornerRadius="10" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Background="#1AFFFFFF" Background="#1AFFFFFF"
BorderBrush="#26FFFFFF" BorderBrush="#26FFFFFF"
BorderThickness="1" BorderThickness="1"
@@ -56,7 +56,7 @@
<Border x:Name="DialogCardBorder" <Border x:Name="DialogCardBorder"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
VerticalAlignment="Center" VerticalAlignment="Center"
CornerRadius="12" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
BorderThickness="1" BorderThickness="1"
Padding="12"> Padding="12">
<StackPanel Spacing="10"> <StackPanel Spacing="10">
@@ -80,12 +80,12 @@
<Button x:Name="DialogCancelButton" <Button x:Name="DialogCancelButton"
Grid.Column="0" Grid.Column="0"
Content="Cancel" Content="Cancel"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Height="30" /> Height="30" />
<Button x:Name="DialogConfirmButton" <Button x:Name="DialogConfirmButton"
Grid.Column="1" Grid.Column="1"
Content="Confirm" Content="Confirm"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Height="30" /> Height="30" />
</Grid> </Grid>
</StackPanel> </StackPanel>

View File

@@ -22,7 +22,7 @@
Height="224" Height="224"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
CornerRadius="32" CornerRadius="{DynamicResource DesignCornerRadiusLg}"
BorderThickness="1"> BorderThickness="1">
<Grid ColumnDefinitions="96,2,*"> <Grid ColumnDefinitions="96,2,*">
<Grid Grid.Column="0" <Grid Grid.Column="0"
@@ -70,14 +70,14 @@
Grid.Row="0" Grid.Row="0"
Height="3" Height="3"
Width="18" Width="18"
CornerRadius="2" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Background="#D0D6E1" /> Background="#D0D6E1" />
<Border x:Name="ScaleMark2" <Border x:Name="ScaleMark2"
Grid.Row="1" Grid.Row="1"
Height="3" Height="3"
Width="16" Width="16"
CornerRadius="2" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Margin="0,18,0,0" Margin="0,18,0,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Background="#D0D6E1" /> Background="#D0D6E1" />
@@ -85,7 +85,7 @@
Grid.Row="2" Grid.Row="2"
Height="3" Height="3"
Width="14" Width="14"
CornerRadius="2" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Margin="0,18,0,0" Margin="0,18,0,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Background="#D0D6E1" /> Background="#D0D6E1" />
@@ -93,7 +93,7 @@
Grid.Row="3" Grid.Row="3"
Height="3" Height="3"
Width="12" Width="12"
CornerRadius="2" CornerRadius="{DynamicResource DesignCornerRadiusMicro}"
Margin="0,18,0,0" Margin="0,18,0,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Background="#D0D6E1" /> Background="#D0D6E1" />

View File

@@ -32,12 +32,12 @@
</Border> </Border>
<Border x:Name="BackgroundTintLayer" <Border x:Name="BackgroundTintLayer"
CornerRadius="30" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Opacity="0.16" /> Opacity="0.16" />
<Border x:Name="BackgroundLightLayer" <Border x:Name="BackgroundLightLayer"
CornerRadius="30" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Opacity="0.62"> Opacity="0.62">
<Border.Background> <Border.Background>
@@ -54,7 +54,7 @@
</Border> </Border>
<Border x:Name="BackgroundShadeLayer" <Border x:Name="BackgroundShadeLayer"
CornerRadius="30" CornerRadius="{DynamicResource DesignCornerRadiusComponent}"
ClipToBounds="True" ClipToBounds="True"
Opacity="0.74"> Opacity="0.74">
<Border.Background> <Border.Background>

View File

@@ -24,7 +24,7 @@
Background="#FFFFFF" Background="#FFFFFF"
BorderBrush="#24000000" BorderBrush="#24000000"
BorderThickness="1" BorderThickness="1"
CornerRadius="14" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
ClipToBounds="True"> ClipToBounds="True">
<inking:InkCanvas x:Name="InkCanvas" /> <inking:InkCanvas x:Name="InkCanvas" />
</Border> </Border>
@@ -35,7 +35,7 @@
Background="#E6FFFFFF" Background="#E6FFFFFF"
BorderBrush="#16000000" BorderBrush="#16000000"
BorderThickness="1" BorderThickness="1"
CornerRadius="14" CornerRadius="{DynamicResource DesignCornerRadiusSm}"
Padding="8,6"> Padding="8,6">
<StackPanel x:Name="ToolbarButtonsPanel" <StackPanel x:Name="ToolbarButtonsPanel"
Orientation="Horizontal" Orientation="Horizontal"
@@ -103,7 +103,7 @@
<Border Background="{DynamicResource AdaptiveSurfaceBaseBrush}" <Border Background="{DynamicResource AdaptiveSurfaceBaseBrush}"
BorderBrush="{DynamicResource SystemControlForegroundBaseMediumLowBrush}" BorderBrush="{DynamicResource SystemControlForegroundBaseMediumLowBrush}"
BorderThickness="1" BorderThickness="1"
CornerRadius="8" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
Padding="12"> Padding="12">
<StackPanel Spacing="12"> <StackPanel Spacing="12">
<ColorView x:Name="InkColorPicker" <ColorView x:Name="InkColorPicker"

View File

@@ -8,7 +8,7 @@
x:Class="LanMountainDesktop.Views.Components.ZhiJiaoHubWidget"> x:Class="LanMountainDesktop.Views.Components.ZhiJiaoHubWidget">
<Border x:Name="RootBorder" <Border x:Name="RootBorder"
CornerRadius="{DynamicResource DesignCornerRadiusComponent}" CornerRadius="{DynamicResource DesignCornerRadiusXs}"
ClipToBounds="True" ClipToBounds="True"
BorderThickness="0" BorderThickness="0"
Background="#1A1A1A"> Background="#1A1A1A">