Skip to content

Commit

Permalink
Merge pickerTextDark/Light theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-edge authored and swansontec committed Sep 4, 2023
1 parent ed81c14 commit 07ced1d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,7 @@ exports[`FioAddressList should render with loading props 1`] = `
"paymentTypeVisa": {
"testUri": "../../../src/assets/images/paymentTypes/paymentTypeVisa.png",
},
"pickerTextDark": "#FFFFFF",
"pickerTextLight": "#000000",
"pickerText": "#FFFFFF",
"pinUsernameButton": [
"rgba(255, 255, 255, 0)",
"rgba(255, 255, 255, 0)",
Expand Down Expand Up @@ -721,8 +720,7 @@ exports[`FioAddressList should render with loading props 1`] = `
"paymentTypeVisa": {
"testUri": "../../../src/assets/images/paymentTypes/paymentTypeVisa.png",
},
"pickerTextDark": "#FFFFFF",
"pickerTextLight": "#000000",
"pickerText": "#FFFFFF",
"pinUsernameButton": [
"rgba(255, 255, 255, 0)",
"rgba(255, 255, 255, 0)",
Expand Down
2 changes: 1 addition & 1 deletion src/components/modals/AutoLogoutModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const AutoLogoutModal = (props: Props) => {
const { autoLogoutTimeInSeconds, bridge } = props
const theme = useTheme()
const styles = getStyles(theme)
const textColor = theme.pickerTextDark
const textColor = theme.pickerText
const itemStyle = [styles.text, Platform.OS === 'android' ? styles.androidAdjust : null]

const [displayTime, setDisplayTime] = React.useState<DisplayTime>(secondsToDisplay(autoLogoutTimeInSeconds))
Expand Down
3 changes: 1 addition & 2 deletions src/theme/variables/edgeDark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ export const edgeDark: Theme = {
qrBackgroundColor: palette.white,

// Picker Color
pickerTextDark: palette.white,
pickerTextLight: palette.black,
pickerText: palette.white,

// Input Accessory
inputAccessoryBackground: palette.white,
Expand Down
3 changes: 1 addition & 2 deletions src/theme/variables/edgeLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ export const edgeLight: Theme = {
qrBackgroundColor: palette.white,

// Picker Color
pickerTextDark: palette.white,
pickerTextLight: palette.black,
pickerText: palette.white,

// Input Accessory
inputAccessoryBackground: palette.white,
Expand Down
3 changes: 1 addition & 2 deletions src/theme/variables/testDark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,7 @@ export const testDark: Theme = {
qrBackgroundColor: palette.white,

// Picker Color
pickerTextDark: palette.white,
pickerTextLight: palette.black,
pickerText: palette.white,

// Input Accessory
inputAccessoryBackground: palette.white,
Expand Down
3 changes: 1 addition & 2 deletions src/theme/variables/testLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ export const testLight: Theme = {
qrBackgroundColor: palette.white,

// Picker Color
pickerTextDark: palette.white,
pickerTextLight: palette.black,
pickerText: palette.white,

// Input Accessory
inputAccessoryBackground: palette.white,
Expand Down
3 changes: 1 addition & 2 deletions src/types/Theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ export interface Theme {
qrBackgroundColor: string

// Picker Color
pickerTextDark: string
pickerTextLight: string
pickerText: string

// Input Accessory
inputAccessoryBackground: string
Expand Down

0 comments on commit 07ced1d

Please sign in to comment.