Skip to content

fix(material): correct foreground vibrancy and separator styles - #1263

Merged
Kyle-Ye merged 8 commits into
mainfrom
bugfix/foreground_material_vibrancy
Nov 22, 2026
Merged

Kyle-Ye merged 8 commits into
mainfrom
bugfix/foreground_material_vibrancy

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Resolve separators with the separator role on material backgrounds on iOS and visionOS. Use the environment’s separator style on macOS.
  • Correct vibrant system colors in light and dark appearances. On visionOS, use the window’s glass material for foreground colors and distinguish destructive red from ordinary red.
  • Bridge UIKit traits into the environment for window material, platter and ornament state, point scale, and HDR headroom. Clear an inherited display corner radius when UIKit reports an unspecified value.

Close #1178

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T19:43:42.655078Z 7eac602 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added area: data-flow State, binding, environment, preference, observation, or property data flow. area: graphics Color, shape, gradient, image, symbols, and graphics primitives. platform: iOS iOS-specific behavior or support. platform: macOS macOS-specific behavior or support. platform: visionOS visionOS-specific behavior or support. type: bug Something is not working correctly. labels Nov 22, 2026
@tuist

tuist Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 a3bf62f59

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 17s a3bf62f59

Reported by Tuist, faster builds and reliable tests for Xcode, Gradle, Bazel, and more.

@codecov

codecov Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 12.12121% with 58 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.99%. Comparing base (92438dc) to head (7eac602).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...nSwiftUICore/Graphic/Color/VibrantColorStyle.swift 0.00% 38 Missing ⚠️
...nSwiftUICore/Data/Environment/EnvironmentKey.swift 0.00% 10 Missing ⚠️
...tUICore/Shape/ShapeStyle/SeparatorShapeStyle.swift 0.00% 9 Missing ⚠️
...OpenSwiftUICore/View/Image/ImageDynamicRange.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1263      +/-   ##
==========================================
- Coverage   32.05%   31.99%   -0.06%     
==========================================
  Files        1020     1020              
  Lines       84066    84097      +31     
==========================================
- Hits        26948    26908      -40     
- Misses      57118    57189      +71     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 57f84ee into main Nov 22, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the bugfix/foreground_material_vibrancy branch November 22, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: data-flow State, binding, environment, preference, observation, or property data flow. area: graphics Color, shape, gradient, image, symbols, and graphics primitives. platform: iOS iOS-specific behavior or support. platform: macOS macOS-specific behavior or support. platform: visionOS visionOS-specific behavior or support. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement foreground material vibrancy

1 participant