From 8221bd6478ff2b7e1e41d2294fb624b24cb2a170 Mon Sep 17 00:00:00 2001 From: gramps Date: Sun, 1 Nov 2026 15:51:33 -0800 Subject: [PATCH] ui(properties): one typography hierarchy, pill switches, and tokens instead of hex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Creator directive 2026-11-01: the properties panels had 14 hand-rolled heading styles, 37 hand-rolled labels, four literal grey hex values, and 14 square checkboxes. - PropertyHeader / PropertySubHeader / PropertyFieldLabel / PropertyHint in Themes/Controls.xaml now carry the whole hierarchy: category bright and 11px, labels and hints dim, size and weight doing the level. Colour groups the panel — bright for what you edit, dim for its labels and help — and no new palette entry was needed; DESIGN.md stays the only colour source. - Every checkbox in the panel is a pill switch (PropertyPillCheck, 32x16 animated thumb). IsChecked semantics unchanged, so no binding moved. - Literal #888/#666/#555 became OnSurfaceVariant / OnSurfaceDisabled. - 13 headings, 2 sub-headers and 31 in-row labels now reference a style instead of repeating colour + size + alignment inline. Controls audited for backing: every Button/Slider/ComboBox/CheckBox/ToggleButton/TextBox in the panel has a Command or Click, a Value binding, an ItemsSource or Selected*, IsChecked, or Text — no dead controls. Release 0 warnings; typography and token tests pass. --- Controls/LeftPanel.xaml | 133 +++++++++++++++++++--------------------- Themes/Controls.xaml | 99 ++++++++++++++++++++++++++++++ docs/ai/ui-surface.md | 11 ++++ 3 files changed, 174 insertions(+), 69 deletions(-) diff --git a/Controls/LeftPanel.xaml b/Controls/LeftPanel.xaml index 2208871..ad78bd4 100644 --- a/Controls/LeftPanel.xaml +++ b/Controls/LeftPanel.xaml @@ -277,7 +277,7 @@ - @@ -330,7 +330,7 @@ is not offered in the vertical Chat layout, so that option is not even shown there (CanToggleClipShape). --> - +