Skip to content

Commit

Permalink
Merge pull request #27920 from ishpaul777/fix/RightModal-OverlayBG-color
Browse files Browse the repository at this point in the history
  • Loading branch information
dangrous authored Sep 25, 2023
2 parents bcc2ddb + 728440d commit e6a621a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ const CONST = {
},
},

RIGHT_MODAL_BACKGROUND_OVERLAY_OPACITY: 0.4,

NEW_EXPENSIFY_URL: ACTIVE_EXPENSIFY_URL,
APP_DOWNLOAD_LINKS: {
ANDROID: `https://play.google.com/store/apps/details?id=${ANDROID_PACKAGE_NAME}`,
Expand Down
2 changes: 1 addition & 1 deletion src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ const styles = (theme) => ({
top: 0,
bottom: 0,
right: 0,
backgroundColor: theme.shadow,
backgroundColor: theme.overlay,
opacity: current.progress.interpolate({
inputRange: [0, 1],
outputRange: [0, variables.overlayOpacity],
Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const darkTheme = {
signInPage: colors.green800,

// Additional keys
overlay: colors.darkHighlightBackground,
overlay: colors.darkBorders,
inverse: colors.darkPrimaryText,
shadow: colors.black,
componentBG: colors.darkAppBackground,
Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const lightTheme = {
signInPage: colors.green800,

// Additional keys
overlay: colors.lightHighlightBackground,
overlay: colors.lightBorders,
inverse: colors.lightPrimaryText,
shadow: colors.black,
componentBG: colors.lightAppBackground,
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
optionRowHeight: 64,
optionRowHeightCompact: 52,
optionsListSectionHeaderHeight: getValueUsingPixelRatio(32, 38),
overlayOpacity: 0.6,
overlayOpacity: 0.72,
lineHeightXSmall: getValueUsingPixelRatio(11, 17),
lineHeightSmall: getValueUsingPixelRatio(14, 16),
lineHeightNormal: getValueUsingPixelRatio(16, 21),
Expand Down

0 comments on commit e6a621a

Please sign in to comment.