Semantic Colors
Platform Compatibility
iOS 13.0.+ macOS 10.15+ watchOS 6.0+ tvOS 13.0+ visionOS 1.0+
Tags
SwiftUI Code
Text("Primary Text Color")
.foregroundStyle(.primary)
Text("Secondary Text Color")
.foregroundStyle(.secondary)
Found an issue or have a suggestion?
Created: May 29, 2025Updated: May 31, 2025