Implement foreground material vibrancy
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
Start by locating ForegroundMaterialStyle._apply(to:) and tracing how the environment's background material is resolved, including the content and separator styles that use this style. Remove the fallback and warning as scoped, then verify the acceptance criteria: default foreground content on visionOS and content inside background materials on iOS and macOS should render with vibrant colors matching SwiftUI.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
ForegroundMaterialStyle does not apply material vibrancy. It reports an unimplemented warning and falls back to SystemColorsStyle (#1173). Default foreground content uses this style when the environment has a background material. visionOS windows report a vibrant trait and set a background material, so all default foreground content on visionOS renders with plain system colors instead of vibrant colors. Other platforms are affected inside views with a background material.
Scope
- Implement
ForegroundMaterialStyle._apply(to:)with material vibrancy for the background material in the environment. - Apply the same vibrancy to the content and separator styles that resolve through
ForegroundMaterialStyle. - Remove the
SystemColorsStylefallback and the unimplemented warning.
Acceptance criteria
- Default foreground content on visionOS renders with vibrant colors that match SwiftUI.
- Foreground content inside a background material renders with vibrant colors on iOS and macOS.
- Vorherrschende Sprache
- Swift
- Sterne
- 2.5k
- Forks
- 84
- Ø Merge
- 3 Std. 21 Min.
- Gemergte PRs (30 T.)
- 79
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus OpenSwiftUIProject/OpenSwiftUI
-
area: rendering impact: visual-diff platform: iOS type: bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 65/100
OpenSwiftUIProject/OpenSwiftUI#1192 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Track visionOS supportOffenarea: compatibility area: hosting-bridge area: rendering platform: visionOS priority: p1 type: feature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 28/100
OpenSwiftUIProject/OpenSwiftUI#1171 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: text type: feature
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 48/100
OpenSwiftUIProject/OpenSwiftUI#1167 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: hosting-bridge platform: iOS type: feature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 45/100
OpenSwiftUIProject/OpenSwiftUI#1166 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: text priority: p1 type: feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
OpenSwiftUIProject/OpenSwiftUI#1165 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in OpenSwiftUIProject/OpenSwiftUI
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
swiftlang/swift-format#1312 ·
-
LiquidGlass / LiquidGlassContainer (iOS): padded content measured at the outer width and overflows by the paddingEvtl. vergeben @aleclarson hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
NativeScript/NativeScript#11561 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
omacom/try-omarchy#402 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: build-and-ci S3: minor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
manaflow-ai/cmux#22595 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag