-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[No QA] Core Branding: Add dark theme for internal testing #12478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c935d51
1:1 swap to dark mode colors.
grgia 54bd43f
Define temp color names in colors.js / use in theme file.
grgia 4726435
Remove colors import from styles.js, replace with themeColors
grgia a98a18a
WIP clean up color imports for gray1-gray4 and appBG.
grgia 0bc83d7
Clean up themeColors references, particularly success/danger colors.
grgia 23ee309
Use dark theme for Onfido Component
grgia 16c27f2
Clean up default.js and colors.js files
grgia 37103ea
Fix incorrect themeColors key in styles.js
grgia 0ad17a5
Update Skeleton UI to dark theme colors
grgia 7b87b65
Add blueLink and bring back branded blue in colors.js
grgia b9844e6
Add warning yellow to themeColors
grgia 40ce341
Switch borderFocus to green, remove extra line
grgia d710f07
Merge branch 'main' into georgia-new-color-theme
grgia 9c56c21
Make oldTheme / darkTheme accessible from default.js
grgia b3f01fe
Fix lint, update splash screen background color
grgia 61bcfd8
Adding cardBG key for other core branding PRs
grgia dcc598c
Specify to use theme/default.js
grgia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,42 @@ | ||
| /** | ||
| * DO NOT import colors.js into files. Use ../themes/default.js instead. | ||
| */ | ||
| export default { | ||
| white: '#FFFFFF', | ||
| gray1: '#FAFAFA', | ||
| gray2: '#ECECEC', | ||
| gray3: '#C6C9CA', | ||
| gray4: '#7D8B8F', | ||
| dark: '#0b1b34', | ||
| black: '#000000', | ||
| blue: '#0185ff', | ||
| blueHover: '#0063bf', | ||
| blueHover: '#B0D9FF', | ||
| floralwhite: '#fffaf0', | ||
| green: '#03d47c', | ||
| greenHover: '#03c775', | ||
| orange: '#ff7101', | ||
| pink: '#f68dfe', | ||
| red: '#fc3826', | ||
| redHover: '#e13826', | ||
| redDisabled: '#fea29a', | ||
| yellow: '#fed607', | ||
| orange: '#FF7101', | ||
| pink: '#F68DFE', | ||
| green: '#03D47C', | ||
| greenHover: '#00C271', | ||
| greenPressed: '#35DD96', | ||
| greenDisabled: '80E9BD', | ||
Luke9389 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| red: '#F25730', | ||
| redHover: '#DE4822', | ||
| redPressed: '#F57959', | ||
| redDisabled: '#F8AA97', | ||
| yellow: '#FED607', | ||
| transparent: 'transparent', | ||
|
|
||
| // Dark Mode Theme Colors | ||
| greenAppBackground: '#061B09', | ||
| greenHighlightBackground: '#002E22', | ||
| greenBorders: '#1B5744', | ||
| greenIcons: '#8B9C8F', | ||
| greenSupportingText: '#C9D3C5', | ||
| white: '#FFFFFF', | ||
| blueLink: '#5AB0FF', | ||
| blueLinkHover: '#B0D9FF', | ||
| greenDefaultButton: '#184E3D', | ||
| greenDefaultButtonHover: '#2C6755', | ||
| greenDefaultButtonPressed: '#467164', | ||
| greenDefaultButtonDisabled: '#8BA69E', | ||
|
|
||
| // DEPRECATED COLORS. Do not reference these colors. Will be deleted in color switch PR. | ||
| gray1: '#FAFAFA', | ||
| gray2: '#ECECEC', | ||
| gray3: '#C6C9CA', | ||
| gray4: '#7D8B8F', | ||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.