Professional redesign: native window, settings, calmer UI

- WindowChrome: resizable, snap layouts, native shadow, DWM rounded
  corners; size/position remembered; fade-in after load (no theme flash)
- Menu bar replaced by a settings window (theme system/light/dark,
  language, sound, autostart, categories, data, shortcuts, about)
- Shared styles in Themes/Controls.xaml; neutral palette with one accent
  applied to Application.Resources (context menus/tooltips themed)
- Rows: To-Do style check left, title + details, relative date right,
  actions on hover, visible selection (Enter edits, Del deletes)
- No glow/scale effects; subtle animations (dialogs, snackbar, chevrons)
- Checking a recurring task moves it to the next date (with undo)
- Themed combo box, date picker, check box; neutral dialog headers
- New flat app icon (tools/make_icon.py)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 18:10:45 +01:00
parent 00e9990feb
commit 3e0b00f11c
28 changed files with 2100 additions and 1434 deletions

33
Core/DialogAnimation.cs Normal file
View File

@@ -0,0 +1,33 @@
#nullable enable
using System;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace ReminderOrganizer
{
/// <summary>Subtle open animation for dialogs: fade in + 2 % scale, 140 ms, ease-out.</summary>
public static class DialogAnimation
{
public static void Attach(Window window)
{
window.Opacity = 0;
window.Loaded += (_, _) =>
{
var ease = new CubicEase { EasingMode = EasingMode.EaseOut };
var duration = TimeSpan.FromMilliseconds(140);
window.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation(0, 1, duration) { EasingFunction = ease });
if (window.Content is FrameworkElement root)
{
var scale = new ScaleTransform(0.98, 0.98);
root.RenderTransformOrigin = new Point(0.5, 0.5);
root.RenderTransform = scale;
var anim = new DoubleAnimation(0.98, 1, duration) { EasingFunction = ease };
scale.BeginAnimation(ScaleTransform.ScaleXProperty, anim);
scale.BeginAnimation(ScaleTransform.ScaleYProperty, anim);
}
};
}
}
}