Skip to content

fix(ui): eliminate system-blue accent leaks on undo/redo and IAP rows - #651

Merged
wei18 merged 1 commit into
mainfrom
fix/accent-blue-leaks
Jun 29, 2026
Merged

wei18 merged 1 commit into
mainfrom
fix/accent-blue-leaks

Conversation

@wei18

@wei18 wei18 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Fixes #650 — system-blue leaked where the brand accent should apply (found in the interactive-sim-ux-audit).

Changes (4 source lines)

Snapshots

13 committed baselines re-recorded (Board snapshots + IAP/SettingsView snapshots). The source delta is only the 4 recolor lines, so the snapshot diffs are recolor-only — verified by eyeballing the IAP-unpurchased baseline (labels now dark, icons green, no blue).

Verification

  • swift test --package-path Packages/SudokuKit — 260 pass
  • swift test --package-path Packages/AppMonetizationKit — 114 pass
  • swiftlint --strict on both changed files — 0 violations

Excludes the completion-screen Close (that was a debug-hook artifact; production is correctly themed). Board/loader ✕ was investigated — see issue notes.

Closes #650

🤖 Generated with Claude Code

Closes #650

Three surfaces had no foregroundStyle / buttonStyle override, causing
them to inherit the default system-blue button tint instead of the
themed accent or primary text color.

- DigitPadView (compact): add `.foregroundStyle(theme.accent.primary.resolved)`
  to the Undo (`arrow.uturn.backward`) and Redo (`arrow.uturn.forward`)
  Image views, matching the adjacent Erase icon.
- SettingsIAPRows: add `.buttonStyle(.plain)` to RemoveAdsRow and
  RestorePurchasesRow so label text renders in primary (dark) instead
  of the button's default blue tint. AdsRemovedRow is untouched.
- BoardLoaderView: no close ✕ button present; ProgressView spinner in
  the loading state has no blue-leak button — no change needed.

Re-recorded 15 snapshot baselines (6 BoardView iPhone, 2 IAPRows,
7 SettingsView) to reflect the intended recolor. Diffs are
recolor-only: Undo/Redo arrows blue→accent-green; IAP row label
text blue→primary. All 260 SudokuKit + 114 AppMonetizationKit tests
pass. SwiftLint --strict: 0 violations.

Co-Authored-By: Claude <[email protected]>
@wei18
wei18 merged commit 5405a3c into main Jun 29, 2026
4 checks passed
@wei18
wei18 deleted the fix/accent-blue-leaks branch June 29, 2026 16:09
wei18 added a commit that referenced this pull request Jun 29, 2026
39-screenshot idb audit of Sudoku + Minesweeper v2.6.0 with 3 parallel design/a11y reviewers. Filed #644/#645/#647/#648/#649/#650/#652; shipped #646 (version + IAP toast) and #651 (accent-blue leaks). Records two Leader-caught false positives (completion-Close debug artifact; #648 iOS-26 cancel render) and the verified non-bugs (raw-seconds idiom, per-game theming, GC-entitlement no-op).

Co-Authored-By: Claude <[email protected]>
wei18 added a commit that referenced this pull request Jun 29, 2026
39-screenshot idb audit of Sudoku + Minesweeper v2.6.0 with 3 parallel design/a11y reviewers. Filed #644/#645/#647/#648/#649/#650/#652; shipped #646 (version + IAP toast) and #651 (accent-blue leaks). Records two Leader-caught false positives (completion-Close debug artifact; #648 iOS-26 cancel render) and the verified non-bugs (raw-seconds idiom, per-game theming, GC-entitlement no-op).

Co-authored-by: Claude <[email protected]>
wei18 added a commit that referenced this pull request Jun 30, 2026
Extends the 2026-06-29 sim-audit log with the follow-on fixes (#646/#651/#654/#655), the Play Again arc, and four Leader-caught agent defects (Daily fork, placeholder L10n, catalog-reformat bleed, compile error masked by an incremental build).

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ui): system-blue accent leaks where the brand accent should apply

1 participant