forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Expensify#32512 from Expensify/georgia-LightModeTh…
…emeQA Finalize Light Mode / Dark Mode (with new primitives)
- Loading branch information
Showing
31 changed files
with
164 additions
and
148 deletions.
There are no files selected for viewing
This file contains 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,7 +1,7 @@ | ||
{ | ||
"ignoredFiles": [ | ||
"assets/images/empty-state_background-fade-dark.png", // Caused an issue with colour gradients, https://github.com/Expensify/App/issues/30499 | ||
"assets/images/empty-state_background-fade-light.png" | ||
"assets/images/themeDependent/empty-state_background-fade-dark.png", // Caused an issue with colour gradients, https://github.com/Expensify/App/issues/30499 | ||
"assets/images/themeDependent/empty-state_background-fade-light.png" | ||
], | ||
"aggressiveCompression": "false" | ||
} |
This file contains 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 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import React from 'react'; | ||
import {Image} from 'react-native'; | ||
import useLocalize from '@hooks/useLocalize'; | ||
import useThemeIllustrations from '@styles/illustrations/useThemeIllustrations'; | ||
import useThemeStyles from '@styles/useThemeStyles'; | ||
import CONST from '@src/CONST'; | ||
|
||
function ExampleCheckImage() { | ||
const styles = useThemeStyles(); | ||
const illustrations = useThemeIllustrations(); | ||
const {preferredLocale} = useLocalize(); | ||
const isSpanish = (preferredLocale || CONST.LOCALES.DEFAULT) === CONST.LOCALES.ES; | ||
|
||
return ( | ||
<Image | ||
resizeMode="contain" | ||
style={[styles.exampleCheckImage, styles.mb5]} | ||
source={isSpanish ? illustrations.ExampleCheckES : illustrations.ExampleCheckEN} | ||
/> | ||
); | ||
} | ||
|
||
ExampleCheckImage.displayName = 'ExampleCheckImage'; | ||
export default ExampleCheckImage; |
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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,8 +1,12 @@ | ||
import EmptyStateBackgroundImage from '@assets/images/empty-state_background-fade-dark.png'; | ||
import EmptyStateBackgroundImage from '@assets/images/themeDependent/empty-state_background-fade-dark.png'; | ||
import ExampleCheckEN from '@assets/images/themeDependent/example-check-image-dark-en.png'; | ||
import ExampleCheckES from '@assets/images/themeDependent/example-check-image-dark-es.png'; | ||
import {Illustrations} from './types'; | ||
|
||
const illustrations = { | ||
EmptyStateBackgroundImage, | ||
ExampleCheckEN, | ||
ExampleCheckES, | ||
} satisfies Illustrations; | ||
|
||
export default illustrations; |
This file contains 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,8 +1,12 @@ | ||
import EmptyStateBackgroundImage from '@assets/images/empty-state_background-fade-light.png'; | ||
import EmptyStateBackgroundImage from '@assets/images/themeDependent/empty-state_background-fade-light.png'; | ||
import ExampleCheckEN from '@assets/images/themeDependent/example-check-image-light-en.png'; | ||
import ExampleCheckES from '@assets/images/themeDependent/example-check-image-light-es.png'; | ||
import {Illustrations} from './types'; | ||
|
||
const illustrations = { | ||
EmptyStateBackgroundImage, | ||
ExampleCheckEN, | ||
ExampleCheckES, | ||
} satisfies Illustrations; | ||
|
||
export default illustrations; |
This file contains 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 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.