Skip to content

refactor(hig): honor Reduce Transparency and Increase Contrast for materials#1130

Merged
datlechin merged 18 commits intomainfrom
refactor/datagrid-stage-11c-material-accessibility
May 8, 2026
Merged

refactor(hig): honor Reduce Transparency and Increase Contrast for materials#1130
datlechin merged 18 commits intomainfrom
refactor/datagrid-stage-11c-material-accessibility

Conversation

@datlechin
Copy link
Copy Markdown
Member

Summary

  • New TablePro/Theme/MaterialAccessibility.swift (~75 LoC) with a themeMaterial(_:_:) view modifier that reads accessibilityReduceTransparency and colorSchemeContrast from the environment
  • Apply at 7 SwiftUI material sites: Welcome sidebar, settings banners, ER diagram toolbar, JSON editor inline buttons, Pro feature scrim
  • When either accessibility setting is on, the material swaps to a solid surface color picked per role (controlBackgroundColor / windowBackgroundColor / scrim variant)

Stacked on #1129. Review that one first.

Test plan

  • System Settings → Accessibility → Display → "Reduce transparency" ON: Welcome left panel, settings banners, ER toolbar, JSON editor controls, Pro paywall scrim all flip from blurred to solid
  • System Settings → Accessibility → Display → "Increase contrast" ON (transparency off): same surfaces flip to solid
  • Both off: blur restored
  • Dark mode + Reduce transparency: solid surfaces use dark-appropriate colors

datlechin added 18 commits May 8, 2026 21:01
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Base automatically changed from refactor/datagrid-stage-11b-window-restoration-full to main May 8, 2026 18:54
@datlechin datlechin merged commit eaa10aa into main May 8, 2026
1 check passed
@datlechin datlechin deleted the refactor/datagrid-stage-11c-material-accessibility branch May 8, 2026 18:54
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.

1 participant