Ios Background Hierarchy
iOS defines three system background color levels — systemBackground, secondarySystemBackground, tertiarySystemBackground — that automatically adapt to light and dark mode to create visual depth in grouped layouts.
$ prime install @community/fact-ios-background-hierarchy Projection
Always in _index.xml · the agent never has to ask for this.
IosBackgroundHierarchy [fact] v1.0.0
iOS defines three system background color levels — systemBackground, secondarySystemBackground, tertiarySystemBackground — that automatically adapt to light and dark mode to create visual depth in grouped layouts.
Loaded when retrieval picks the atom as adjacent / supporting.
IosBackgroundHierarchy [fact] v1.0.0
iOS defines three system background color levels — systemBackground, secondarySystemBackground, tertiarySystemBackground — that automatically adapt to light and dark mode to create visual depth in grouped layouts.
Evidence
- systemBackground: primary surface for main content areas (white in light mode, black in dark mode).
- secondarySystemBackground: grouped content areas, cards, and inset grouped table sections.
- tertiarySystemBackground: elements nested within grouped content (e.g., cells inside a grouped section).
- All three levels are semantic UIColor / SwiftUI Color tokens that adjust automatically when the system appearance changes.
Loaded when retrieval picks the atom as a focal / direct hit.
IosBackgroundHierarchy [fact] v1.0.0
iOS defines three system background color levels — systemBackground, secondarySystemBackground, tertiarySystemBackground — that automatically adapt to light and dark mode to create visual depth in grouped layouts.
Evidence
- systemBackground: primary surface for main content areas (white in light mode, black in dark mode).
- secondarySystemBackground: grouped content areas, cards, and inset grouped table sections.
- tertiarySystemBackground: elements nested within grouped content (e.g., cells inside a grouped section).
- All three levels are semantic UIColor / SwiftUI Color tokens that adjust automatically when the system appearance changes.
Evidence
- systemBackground: primary surface for main content areas (white in light mode, black in dark mode).
- secondarySystemBackground: grouped content areas, cards, and inset grouped table sections.
- tertiarySystemBackground: elements nested within grouped content (e.g., cells inside a grouped section).
- All three levels are semantic UIColor / SwiftUI Color tokens that adjust automatically when the system appearance changes.
Source
prime-system/examples/frontend-design/primes/compiled/@community/fact-ios-background-hierarchy/atom.yaml