Skip to content

Fix invisible sparkle on welcome and sign-up screens in light mode#50

Merged
dadachi merged 1 commit intomainfrom
fix-welcome-light-mode
May 4, 2026
Merged

Fix invisible sparkle on welcome and sign-up screens in light mode#50
dadachi merged 1 commit intomainfrom
fix-welcome-light-mode

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented May 4, 2026

Summary

In light display mode the welcome screen rendered the white sparkle on a near-white themed background — the sparkle disappeared and the screen looked empty. Pin the welcome screen to the brand navy #1A2332 (same as the launcher icon background and splash) regardless of theme, so the white sparkle and title always have contrast. This also extends the launcher/splash visual identity into the first screen the user sees.

The sign-up/sign-in screen stays theme-following (it has chrome — buttons, terms link — that should match the rest of the app), so its sparkle tint moves from hard-coded Color.White to MaterialTheme.colorScheme.primary to keep contrast in both modes.

Mirrors NativeAppTemplate-Android#65.

Test plan

  • ./gradlew :app:assembleDebug succeeds
  • ./gradlew spotlessKotlinCheck passes
  • Light mode: welcome screen shows white sparkle + title on navy; sign-up screen shows primary-tinted sparkle on light background
  • Dark mode: welcome screen unchanged (already navy + white); sign-up screen shows primary-tinted sparkle on dark background

🤖 Generated with Claude Code

The welcome screen used theme-following surfaces with a hard-coded white
sparkle and white-derived text — in light display mode the sparkle
became white-on-white and the screen looked broken. Pin the welcome
screen to the brand navy (#1A2332, same as the launcher and splash)
regardless of theme so the white sparkle and title always have contrast,
extending the launcher/splash look into the first screen the user sees.

The sign-up/sign-in screen still follows the system theme since it has
chrome (buttons, links) that should match the rest of the app, so swap
its sparkle tint from hard-coded white to MaterialTheme.colorScheme.primary
so it's visible in both light and dark modes.

Mirrors NativeAppTemplate-Android#65.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit 40aa7e6 into main May 4, 2026
1 check passed
@dadachi dadachi deleted the fix-welcome-light-mode branch May 4, 2026 03:38
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