Repository navigation
fix(ui): eliminate system-blue accent leaks on undo/redo and IAP rows - #651
Merged
Merged
Conversation
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
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #650 — system-blue leaked where the brand accent should apply (found in the interactive-sim-ux-audit).
Changes (4 source lines)
DigitPadView.swift: Undo + Redo icons now.foregroundStyle(theme.accent.primary.resolved), matching their Notes/Erase siblings (the fix(sudoku): completion view never shows on iOS — modal board left on dead path-push (mirror drift vs MS overlay) #610 palette sweep had missed them). They were inheriting the default system-blue button tint.SettingsIAPRows.swift:RemoveAdsRow+RestorePurchasesRowget.buttonStyle(.plain)so their labels render in primary text color (dark label + accent icon, matching the Game Center / Reminders / Sound rows) instead of system blue.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 passswift test --package-path Packages/AppMonetizationKit— 114 passswiftlint --stricton both changed files — 0 violationsExcludes 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