Skip to content

Fix Light Mode Player UI Contrast & Backgrounds#535

Merged
theovilardo merged 2 commits intomasterfrom
fix-light-mode-player-6341497516053891833
Dec 16, 2025
Merged

Fix Light Mode Player UI Contrast & Backgrounds#535
theovilardo merged 2 commits intomasterfrom
fix-light-mode-player-6341497516053891833

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

This PR addresses the user-reported issues with the Light Mode Player UI where backgrounds were rendering black and text contrast was poor.

Changes:

  • Modified generateColorSchemeFromSeed in ColorRoles.kt:
    • Updated the lightScheme generation logic to use standard Material 3 tonal values.
    • Set primary to Tone 40 and onPrimary to White (fixing the "Black Button" issue).
    • Set primaryContainer to Tone 90 and onPrimaryContainer to Tone 10 (fixing text legibility on the player card).
    • Set background and surface to Tone 99 (fixing muddy backgrounds).
    • Added necessary intermediate tone variable definitions (e.g., lightPrimary40, lightPrimary10).

Verification:

  • Logic verified against Material 3 Tonal Palette standards.
  • Ensured darkScheme block remains untouched to preserve the working Dark Mode.

PR created automatically by Jules for task 6341497516053891833 started by @theovilardo

Corrects the Light Mode dynamic color generation in `ColorRoles.kt` to align with Material 3 standards.
- Changes `lightPrimary` to Tone 40 (was 64), ensuring `onPrimary` is White. This fixes black button backgrounds.
- Changes `primaryContainer` to Tone 90 (was 92) and `onPrimaryContainer` to Tone 10 (was 56) for better text contrast.
- Updates `background` and `surface` to Tone 99 for a cleaner light theme.
- Dark Mode logic is completely preserved.
@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

…e 95

- Defines `lightPrimary95`, `lightSecondary95`, and `lightTertiary95` derived from the album art seed.
- Updates `lightScheme` to use these tinted tones for `onPrimary`, `onSecondary`, and `onTertiary` instead of `Color.White`.
- This ensures button backgrounds in the player UI are not 100% white but have a subtle, expressive tint matching the album art, improving visual cohesion in Light Mode while maintaining accessibility.
- Dark Mode remains untouched.
@theovilardo theovilardo marked this pull request as ready for review December 16, 2025 03:32
@theovilardo theovilardo merged commit c970bf5 into master Dec 16, 2025
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@lostf1sh lostf1sh deleted the fix-light-mode-player-6341497516053891833 branch January 16, 2026 20:39
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