From 4775ee7c7b5c44fc106118c159cf13275e9efbe6 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 11 Jul 2026 12:55:47 -0500 Subject: [PATCH 1/3] Drop the corner radius on theme preset backdrops so they don't look clipped --- DesktopClock/ThemePresetPicker.xaml.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/DesktopClock/ThemePresetPicker.xaml.cs b/DesktopClock/ThemePresetPicker.xaml.cs index fa7cb3b..eaa1ef5 100644 --- a/DesktopClock/ThemePresetPicker.xaml.cs +++ b/DesktopClock/ThemePresetPicker.xaml.cs @@ -99,7 +99,6 @@ private static FrameworkElement CreateMiniClock(ClockTheme theme) Child = clock, Width = 140, Height = 64, - CornerRadius = new CornerRadius(5), SnapsToDevicePixels = true, }; backdrop.SetResourceReference(Border.BackgroundProperty, "SubtleBrush"); From ca0ba4f99323b4a5539bbb49e5a922f5bed627ee Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 11 Jul 2026 13:17:20 -0500 Subject: [PATCH 2/3] Revert "Drop the corner radius on theme preset backdrops so they don't look clipped" This reverts commit 4775ee7c7b5c44fc106118c159cf13275e9efbe6. --- DesktopClock/ThemePresetPicker.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DesktopClock/ThemePresetPicker.xaml.cs b/DesktopClock/ThemePresetPicker.xaml.cs index eaa1ef5..fa7cb3b 100644 --- a/DesktopClock/ThemePresetPicker.xaml.cs +++ b/DesktopClock/ThemePresetPicker.xaml.cs @@ -99,6 +99,7 @@ private static FrameworkElement CreateMiniClock(ClockTheme theme) Child = clock, Width = 140, Height = 64, + CornerRadius = new CornerRadius(5), SnapsToDevicePixels = true, }; backdrop.SetResourceReference(Border.BackgroundProperty, "SubtleBrush"); From bed9a732c4f0b1725e8e4e69cbb1f6def0a4558a Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 11 Jul 2026 13:19:14 -0500 Subject: [PATCH 3/3] Reduce theme preset corner radius so it fits the clock's slim padding --- DesktopClock/ClockTheme.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DesktopClock/ClockTheme.cs b/DesktopClock/ClockTheme.cs index aafe498..2fbd36e 100644 --- a/DesktopClock/ClockTheme.cs +++ b/DesktopClock/ClockTheme.cs @@ -47,19 +47,19 @@ public static IReadOnlyList GetBuiltInThemes() CreateSystemTheme(), new ClockTheme("Accent", "Segoe UI", "SemiBold", Color.FromRgb(0xFF, 0xFF, 0xFF), SystemThemeService.GetSystemAccentColor(), - backgroundEnabled: true, backgroundOpacity: 1, backgroundCornerRadius: 8, outlineThickness: 0.2), + backgroundEnabled: true, backgroundOpacity: 1, backgroundCornerRadius: 1, outlineThickness: 0.2), new ClockTheme("Smoke", "Segoe UI", "Normal", Color.FromRgb(0xF2, 0xF2, 0xF2), Color.FromRgb(0x0A, 0x0A, 0x10), - backgroundEnabled: true, backgroundOpacity: 0.55, backgroundCornerRadius: 10, outlineThickness: 0.2), + backgroundEnabled: true, backgroundOpacity: 0.55, backgroundCornerRadius: 1, outlineThickness: 0.2), new ClockTheme("Terminal", "Consolas", "Bold", Color.FromRgb(0x00, 0xE5, 0xFF), Color.FromRgb(0x0C, 0x0C, 0x0C), - backgroundEnabled: true, backgroundOpacity: 0.85, backgroundCornerRadius: 6, outlineThickness: 0.2), + backgroundEnabled: true, backgroundOpacity: 0.85, backgroundCornerRadius: 1, outlineThickness: 0.2), new ClockTheme("Midnight", "Segoe UI", "SemiBold", Color.FromRgb(0x4C, 0xC2, 0xFF), Color.FromRgb(0x1B, 0x1B, 0x1B), - backgroundEnabled: true, backgroundOpacity: 0.95, backgroundCornerRadius: 8, outlineThickness: 0.2), + backgroundEnabled: true, backgroundOpacity: 0.95, backgroundCornerRadius: 1, outlineThickness: 0.2), new ClockTheme("Paper", "Georgia", "Normal", Color.FromRgb(0x1A, 0x1A, 0x1A), Color.FromRgb(0xFA, 0xF9, 0xF6), - backgroundEnabled: true, backgroundOpacity: 0.97, backgroundCornerRadius: 8, outlineThickness: 0.2), + backgroundEnabled: true, backgroundOpacity: 0.97, backgroundCornerRadius: 1, outlineThickness: 0.2), new ClockTheme("Minimal", "Segoe UI", "Light", Color.FromRgb(0xFF, 0xFF, 0xFF), Color.FromRgb(0x00, 0x00, 0x00), backgroundEnabled: false, backgroundOpacity: 1, backgroundCornerRadius: 1, outlineThickness: 0),