Skip to content

Extract colors and apply cozy theme#8

Draft
gsbernstein wants to merge 2 commits into
masterfrom
cursor/extract-cozy-colors-b65c
Draft

Extract colors and apply cozy theme#8
gsbernstein wants to merge 2 commits into
masterfrom
cursor/extract-cozy-colors-b65c

Conversation

@gsbernstein

Copy link
Copy Markdown
Owner

Summary

  • Commit 1: Centralizes all app theme colors in AppColors.swift and updates views to reference named colors instead of inline system colors. No visual changes.
  • Commit 2: Updates the palette to a warm, cozy theme inspired by the new app icon — coral accents, cream backgrounds, dusty mauve/brown sleep-stage colors, and sage/terracotta status tones.

Changes

Color extraction (AppColors.swift)

  • New AppColors enum in Utils/AppColors.swift with named colors for accents, card icons, status indicators, and sleep stages
  • All views updated to use AppColors.* instead of .blue, .purple, .red, etc.

Cozy theme

  • Accent / card icons: Warm coral (#f8987c) from the app icon
  • Recent sleep / REM: Dusty mauve brown (#9b786d)
  • Status positive/negative: Muted sage green and warm terracotta
  • Sleep stages: Warm browns, plum, and peach tones
  • Asset catalog: AccentColor, BackgroundBehindCards, and CardBackground updated with adaptive cream/brown light and dark values
  • All AppColors use adaptive light/dark variants via UIColor dynamic provider

Test plan

  • Build and run on iPhone simulator
  • Verify card icons and accents use warm coral instead of blue/purple
  • Check sleep stage colors in expanded recent-sleep rows
  • Toggle dark mode and confirm backgrounds and accents adapt correctly
  • Confirm Settings sliders use the new accent color
Open in Web Open in Cursor 

cursoragent and others added 2 commits May 29, 2026 16:27
Centralize theme color definitions in a single AppColors enum and
update views to reference named colors instead of inline system colors.
No visual changes in this commit.

Co-authored-by: Greg <gsbernstein@users.noreply.github.com>
Replace the default system blues and purples with a warm palette
inspired by the app icon: coral accents, cream backgrounds, dusty
mauve and brown sleep-stage colors, and sage/terracotta status tones.
Asset catalog colors now use adaptive light/dark cozy values.

Co-authored-by: Greg <gsbernstein@users.noreply.github.com>
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.

2 participants