[No QA] Core Branding: Add dark theme for internal testing#12478
[No QA] Core Branding: Add dark theme for internal testing#12478
Conversation
Luke9389
left a comment
There was a problem hiding this comment.
Generally looking good. I'm not too too concerned about the naming but I figured I'd ask now even if we change it later.
Luke9389
left a comment
There was a problem hiding this comment.
Just one NAB. LMK if you wanna fix it.
src/styles/colors.js
Outdated
| @@ -1,21 +1,42 @@ | |||
| /** | |||
| * DO NOT import colors.js into files. | |||
There was a problem hiding this comment.
You could include "use theme.js instead" here
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
|
@neil-marcellini Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Dope! What's the best way to test this? |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
If you're able to get your dev environment up and running again, you can change the last line of |
|
Did we have a regression from this PR, whereby font color used for buttons changed? https://expensify.slack.com/archives/C049HHMV9SM/p1668665477914149 From staging:
|
|
@michaelhaxhiu seems like. I see it in the payments page too: |
|
Cool, seems @grgia is on it already 👍 |
|
🚀 Deployed to production by @AndrewGable in version: 1.2.29-7 🚀
|
|
Commenting for completion of the BZ checklist, this caused a display issue with the date selector on ios because the |



Details
Screen.Recording.2022-11-16.at.2.46.30.PM.mov
This PR will not change the colors. We will use this to update all other branding changes locally before officially switching to the new dark color theme in a separate PR.
To use the new colors in your PR, change the export in
themes/default.jsfromoldThemetodarkTheme.Completed:
Fixed Issues
#12440
Tests
Normal Regression Tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android