Skip to content

Support the light appearance - #118

Merged
dadachi merged 4 commits into
mainfrom
i-light
Oct 24, 2026
Merged

dadachi merged 4 commits into
mainfrom
i-light

Conversation

@dadachi

@dadachi dadachi commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Bundle I-Light of the Orange Baton template feedback (23, 91), the same as NativeAppTemplate-iOS #151 (no paywall or organization colors here).

  • Remove the three dark pins (App.swift, Info.plist, InfoPlistTest)
  • Every semantic color has a light and a dark value (Color(light:dark:))
  • Primary buttons are filled (MainButtonType.fill, MainButtonTypeTest)
  • SemanticColorContrastTest (both appearances); three dark pairs under 4.5:1 raised
  • AGENTS.md: a connected iPhone may run the tests when the simulator is slow

Checks: full suite passed locally (652 tests, Xcode 27.0), make lint and SwiftFormat 0.64 clean; the contrast test seen failing with the old dark-only values; the first screen checked on the simulator in light and dark.

🤖 Generated with Claude Code

https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi

dadachi and others added 4 commits October 25, 2026 07:55
When the simulator is slow, the tests may run on a connected iPhone instead;
AGENTS.md's Running Tests has the command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
The app was dark only, set in three places: .preferredColorScheme(.dark) in
App.swift, UIUserInterfaceStyle Dark in Info.plist and InfoPlistTest. All three
are gone; InfoPlistTest checks the key stays absent. Every semantic color in
Color+Extensions.swift has a light and a dark value (Color(light:dark:)), so
screens keep using the same names. Primary buttons are filled
(primaryButtonBackground #0B69A3 with white text, 5.89:1).
SemanticColorContrastTest checks every pair of a color and what it is drawn on
in both appearances, which also raised three dark pairs under 4.5:1
(secondary text, content text and the validation error on cards). The same as
NativeAppTemplate-iOS #151. Found while building Orange Baton from the
template (template-feedback 23, 91).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
@dadachi
dadachi merged commit 7ce4d3f into main Oct 24, 2026
2 checks passed
@dadachi
dadachi deleted the i-light branch October 24, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant