Skip to content

Commit

Permalink
fix: rename white theme color to background (react-native-element…
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitBhalla authored Oct 25, 2022
1 parent 4b859e5 commit 48795ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/base/src/ListItem/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const ListItemBase: RneFunctionComponent<ListItemProps> = (props) => {
}),
flexDirection: 'row',
alignItems: 'center',
backgroundColor: theme?.colors?.white,
backgroundColor: theme?.colors?.background,
borderColor: theme?.colors?.divider,
},
topDivider && { borderTopWidth: StyleSheet.hairlineWidth },
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/PricingCard/PricingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const PricingCard: RneFunctionComponent<PricingCardProps> = ({
{
margin: 15,
marginBottom: 15,
backgroundColor: theme?.colors?.white,
backgroundColor: theme?.colors?.background,
borderWidth: 1,
padding: 15,
borderColor: theme?.colors?.grey5,
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/SearchBar/SearchBar-android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class SearchBarAndroid extends Component<
testID="RNE__SearchBar-wrapper"
style={StyleSheet.flatten([
{
backgroundColor: theme?.colors?.white,
backgroundColor: theme?.colors?.background,
paddingTop: 8,
paddingBottom: 8,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/SearchBar/SearchBar-ios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class SearchBarIOS extends Component<SearchBarIosProps, SearchBarState> {
testID="RNE__SearchBar-wrapper"
style={StyleSheet.flatten([
styles.container,
{ backgroundColor: theme?.colors?.white },
{ backgroundColor: theme?.colors?.background },
containerStyle,
])}
>
Expand Down

0 comments on commit 48795ec

Please sign in to comment.