Ios Single Accent Color
Set a single app-wide tint/accent color applied uniformly to all buttons, links, and toggles; avoid using multiple competing accent colors across the interface.
$ aoe install @community/rule-ios-single-accent-color Projection
Always in _index.xml · the agent never has to ask for this.
IosSingleAccentColor [rule] v1.0.0
Set a single app-wide tint/accent color applied uniformly to all buttons, links, and toggles; avoid using multiple competing accent colors across the interface.
Loaded when retrieval picks the atom as adjacent / supporting.
IosSingleAccentColor [rule] v1.0.0
Set a single app-wide tint/accent color applied uniformly to all buttons, links, and toggles; avoid using multiple competing accent colors across the interface.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all interactive controls in an iOS app (buttons, links, toggles, tab bar selection)
Loaded when retrieval picks the atom as a focal / direct hit.
IosSingleAccentColor [rule] v1.0.0
Set a single app-wide tint/accent color applied uniformly to all buttons, links, and toggles; avoid using multiple competing accent colors across the interface.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all interactive controls in an iOS app (buttons, links, toggles, tab bar selection)
Examples
- Set the app accent color once in Assets.xcassets → AccentColor → Appearance Any/Dark.
- SwiftUI applies AccentColor automatically to all tintable controls unless overridden.
- Audit: scan all screens; interactive elements must share one consistent tint color.
Relations
related: [@community/rule-ios-semantic-system-colors, @community/rule-ios-custom-color-dark-variants, @community/fact-ios-button-style-hierarchy]
Rationale
A consistent accent color trains users to recognize interactive affordances at a glance. Multiple accent colors create ambiguity about what is tappable and weaken the visual language. iOS enforces this pattern through the global tintColor system.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all interactive controls in an iOS app (buttons, links, toggles, tab bar selection)
Source
aoe-engine/examples/frontend-design/primes/compiled/@community/rule-ios-single-accent-color/atom.yaml