Found while implementing #80 (see PR #101).
What was observed
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor is set in the build settings.
Assets.xcassets/AccentColor.colorset/Contents.json does hold the brand green, with a correct
dark-appearance variant.
- Yet links and system controls render system blue, not brand green.
Setting .tint(ILColor.primary) on RootView fixes it for the hierarchy below that point, and #101
does exactly that. But that is a workaround layered over an unexplained cause, not a fix.
Why it matters beyond links
.tint does not cross into sheet content — proven while answering #80's deep-link question: a
sheet presented from InterlinedListApp inherited the colour scheme but kept a system-blue "Cancel"
until its content was tinted directly.
So every independently-presented surface needs its own .tint, and any one that is missed silently
reverts to blue. A correctly-honoured global accent would cover all of them at once. Today the app
has an unknown number of un-tinted sheets.
Worth investigating
Acceptance criteria
Low urgency — #101 makes the visible case correct. This is about not having an unexplained
workaround and an unaudited set of sheets.
Found while implementing #80 (see PR #101).
What was observed
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColoris set in the build settings.Assets.xcassets/AccentColor.colorset/Contents.jsondoes hold the brand green, with a correctdark-appearance variant.
Setting
.tint(ILColor.primary)onRootViewfixes it for the hierarchy below that point, and #101does exactly that. But that is a workaround layered over an unexplained cause, not a fix.
Why it matters beyond links
.tintdoes not cross into sheet content — proven while answering #80's deep-link question: asheet presented from
InterlinedListAppinherited the colour scheme but kept a system-blue "Cancel"until its content was tinted directly.
So every independently-presented surface needs its own
.tint, and any one that is missed silentlyreverts to blue. A correctly-honoured global accent would cover all of them at once. Today the app
has an unknown number of un-tinted sheets.
Worth investigating
setting expects, the asset not being compiled into the right catalog, or
Info.plist/UIWindowlevel configuration overriding it.UIView.appearance().tintColor(set alongside the existingUINavigationBar.appearance()configuration inInterlinedListApp.configureNavigationBarAppearance())would cover UIKit-hosted surfaces the SwiftUI
.tintcannot reach..sheet/.fullScreenCoverinViews/for a missing tint once the root cause isknown — if the global accent can be made to work, they can all drop their local tints instead.
Acceptance criteria
work here, tint explicitly").
Low urgency — #101 makes the visible case correct. This is about not having an unexplained
workaround and an unaudited set of sheets.