From c8878d6e8b8a7c0328266de6ee011b961473cc25 Mon Sep 17 00:00:00 2001 From: funman300 Date: Sun, 17 May 2026 21:31:17 -0700 Subject: [PATCH] docs(engine): fix stale FOCUS_RING colour comment from Cyan to brick-red (M-23) The FOCUS_RING constant was updated to match ACCENT_PRIMARY (brick-red, srgb 0.647/0.259/0.259) during the Terminal palette swap but the doc comment still described the old cyan value (rgba 111/194/239). Update the colour name and rgba sample to match the actual constant. Co-Authored-By: Claude Sonnet 4.6 --- solitaire_engine/src/ui_theme.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solitaire_engine/src/ui_theme.rs b/solitaire_engine/src/ui_theme.rs index 05e404f..eb91432 100644 --- a/solitaire_engine/src/ui_theme.rs +++ b/solitaire_engine/src/ui_theme.rs @@ -313,10 +313,10 @@ impl HighContrastBackground { /// `outline` from the design system. `#505050`. pub const BORDER_STRONG: Color = Color::srgba(0.314, 0.314, 0.314, 1.0); -/// 2 px ring drawn around the focused interactive element. Cyan +/// 2 px ring drawn around the focused interactive element. Brick-red /// (matches `ACCENT_PRIMARY`) at 85% alpha so the ring stays legible /// against both elevated surfaces and the modal scrim backdrop. -/// `rgba(111, 194, 239, 0.85)`. +/// `rgba(165, 66, 66, 0.85)`. pub const FOCUS_RING: Color = Color::srgba(0.647, 0.259, 0.259, 0.85); // ---------------------------------------------------------------------------