Skip to content

Conversation

@acoates-ms
Copy link
Contributor

Summary

A few places in RNTester where using hard coded color values, which meant the UI looks broken in dark themes.

The area behind the bookmark button was using a solid color png file, which I've replaced with a color from the theme object.

Changelog

[Internal] [Fixed] - Fix a couple of places RNTester is using non-theme values

Test Plan

Verified in RNTester in react-native-windows in light+dark theme.

@facebook-github-bot facebook-github-bot added p: Microsoft Partner: Microsoft Partner CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels May 4, 2021
Copy link

@analysis-bot analysis-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis results:

  • eslint found some issues. Run yarn lint --fix to automatically fix problems.

@analysis-bot
Copy link

analysis-bot commented May 4, 2021

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 438a4cf

@analysis-bot
Copy link

analysis-bot commented May 4, 2021

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,986,097 -253,317
android hermes armeabi-v7a 8,493,354 -256,421
android hermes x86 9,438,380 -263,448
android hermes x86_64 9,380,146 -286,777
android jsc arm64-v8a 10,604,425 -282,464
android jsc armeabi-v7a 10,104,697 +316,176
android jsc x86 10,623,437 -321,254
android jsc x86_64 11,207,105 -344,221

Base commit: 819b926

@facebook-github-bot
Copy link
Contributor

@rozele has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@rozele merged this pull request in 47b0be5.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 3, 2021
@acoates-ms acoates-ms deleted the rntesterdark branch June 3, 2021 16:00
Setito pushed a commit to Setito/react-native that referenced this pull request Jul 17, 2021
…1479)

Summary:
A few places in RNTester where using hard coded color values, which meant the UI looks broken in dark themes.

The area behind the bookmark button was using a solid color png file, which I've replaced with a color from the theme object.

## Changelog

[Internal] [Fixed] - Fix a couple of places RNTester is using non-theme values

Pull Request resolved: facebook#31479

Test Plan: Verified in RNTester in react-native-windows in light+dark theme.

Reviewed By: TheSavior

Differential Revision: D28290192

Pulled By: rozele

fbshipit-source-id: 78192200ac2dc8629759c10f8e8b3ec2f6699acd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants