From 797bf702cdc73941f924e5d042f0f3b584582702 Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Fri, 8 May 2026 13:34:33 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20native=20Windows=20UI=20=E2=80=94=20lig?= =?UTF-8?q?ht=20theme,=20centered=20window,=20standard=20chrome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windows/Controls/GaugeControl.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/Controls/GaugeControl.cs b/windows/Controls/GaugeControl.cs index dc1fbe7..67a74db 100644 --- a/windows/Controls/GaugeControl.cs +++ b/windows/Controls/GaugeControl.cs @@ -32,7 +32,7 @@ public class GaugeControl : FrameworkElement var radius = Math.Min(cx, cy) - StrokeWidth / 2 - 1; DrawArc(dc, cx, cy, radius, StartAngleDeg, SweepDeg, - new Pen(new SolidColorBrush(Color.FromArgb(28, 255, 255, 255)), StrokeWidth)); + new Pen(new SolidColorBrush(Color.FromArgb(30, 0, 0, 0)), StrokeWidth)); if (Percent > 0) DrawArc(dc, cx, cy, radius, StartAngleDeg, SweepDeg * (Percent / 100.0), @@ -44,14 +44,14 @@ public class GaugeControl : FrameworkElement $"{(int)Math.Round(Percent)}%", CultureInfo.CurrentCulture, FlowDirection.LeftToRight, new Typeface(new FontFamily("Segoe UI"), FontStyles.Normal, FontWeights.Bold, FontStretches.Normal), - 14, Brushes.White, dpi); + 14, new SolidColorBrush(Color.FromRgb(0x1C, 0x1C, 0x1C)), dpi); dc.DrawText(pctText, new Point(cx - pctText.Width / 2, cy - pctText.Height - 1)); var sub = new FormattedText( "Updated\nnow", CultureInfo.CurrentCulture, FlowDirection.LeftToRight, new Typeface("Segoe UI"), 7, - new SolidColorBrush(Color.FromRgb(0x88, 0x88, 0x88)), dpi) + new SolidColorBrush(Color.FromRgb(0x9E, 0x9E, 0x9E)), dpi) { TextAlignment = TextAlignment.Center };