Skip to content

fix(native): update default LightTheme and DarkTheme colors - #13227

Open
Priyanshu0007 wants to merge 1 commit into
react-navigation:mainfrom
Priyanshu0007:fix/issue-13219-theme-colors
Open

fix(native): update default LightTheme and DarkTheme colors#13227
Priyanshu0007 wants to merge 1 commit into
react-navigation:mainfrom
Priyanshu0007:fix/issue-13219-theme-colors

Conversation

@Priyanshu0007

Copy link
Copy Markdown

Motivation

Fixes #13219

This PR updates the default theme color definitions for LightTheme and DarkTheme in @react-navigation/native to match the intended palette values:

  • Updated LightTheme background, text, and border RGB values.
  • Updated DarkTheme background, card, text, and border RGB values.

Test plan

  1. Verified all automated tests and typechecks pass locally:
    • pnpm test (all 81 test suites passed)
    • pnpm typecheck
    • pnpm lint
  2. Verified theme rendering in the example application.

@netlify

netlify Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit 87c8056
🔍 Latest deploy log https://app.netlify.com/projects/react-navigation-example/deploys/6a91c45141875700082e1a34
😎 Deploy Preview https://deploy-preview-13227--react-navigation-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.92%. Comparing base (bce29d6) to head (87c8056).
⚠️ Report is 310 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13227      +/-   ##
==========================================
+ Coverage   72.24%   77.92%   +5.67%     
==========================================
  Files         238      264      +26     
  Lines        8391    10722    +2331     
  Branches     3480     4442     +962     
==========================================
+ Hits         6062     8355    +2293     
- Misses       2274     2304      +30     
- Partials       55       63       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@raajnadar

Copy link
Copy Markdown
Member

This is a breaking change

@Priyanshu0007

Copy link
Copy Markdown
Author

@raajnadar can you please help me what is breaking change in this ? as these was colors previously used

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.

Default background is not rgb(255, 255, 255)

2 participants