Skip to content

Show light phases and golden-hour dots in widgets - #13

Merged
coffee-cup merged 3 commits into
masterfrom
jr/widget-golden-phase
Sep 26, 2026
Merged

coffee-cup merged 3 commits into
masterfrom
jr/widget-golden-phase

Conversation

@coffee-cup

@coffee-cup coffee-cup commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Show Morning, Afternoon, Golden hour, Twilight, Night, Midnight sun, or Polar night in the Now widget, with more space below the location. Classic widgets use a gold dot during golden hour, while the Now centre line stays white and its background uses a softer, stretched theme gradient.

  • Sunline keeps its cyan curve and changes only the sun marker and halo to gold.
  • Golden-hour and local-noon timeline entries update the phase and marker at their boundaries, including polar conditions.

Verified with 53 passing tests and the full offline solar reference matrix: 14,760 cases, 140,279 crossings, no failures.

Captured from installed WidgetKit widgets on the iPhone 18 Pro simulator. Montr茅al is still in golden hour after sunset; Toronto shows the gold Sunline marker before sunset.

Light appearance Dark appearance
Light appearance Dark appearance

@coffee-cup
coffee-cup changed the base branch from codex/offline-solar to master September 26, 2026 23:11
@coffee-cup
coffee-cup merged commit 4e7d7f5 into master Sep 26, 2026
3 checks passed
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