Skip to content

Commit 47757f6

Browse files
authored
fix demo app colors (wix#2229)
1 parent 3c0798e commit 47757f6

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

demo/src/demoApp.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,39 +42,40 @@ function getDefaultNavigationStyle() {
4242
statusBar: {
4343
visible: true,
4444
style: 'light',
45-
backgroundColor: Colors.primary // for Android
45+
backgroundColor: Colors.$backgroundPrimaryHeavy // for Android
4646
},
4747
layout: {
48-
backgroundColor: Colors.white,
49-
orientation: ['portrait', 'landscape']
48+
backgroundColor: Colors.$backgroundDefault,
49+
orientation: ['portrait', 'landscape'],
50+
componentBackgroundColor: Colors.$backgroundDefault
5051
},
5152
topBar: {
5253
visible: true,
5354
noBorder: true, // for iOS
5455
elevation: 0, // for Android
5556
background: {
56-
color: Colors.primary
57+
color: Colors.$backgroundPrimaryHeavy
5758
},
5859
title: {
59-
color: Colors.white,
60+
color: Colors.$textDefaultLight,
6061
fontSize: Typography.text60H.fontSize,
6162
fontFamily: Typography.text65H.fontFamily
6263
},
6364
subtitle: {
64-
color: Colors.white,
65+
color: Colors.$textDefaultLight,
6566
fontSize: Typography.text80T.fontSize,
6667
fontFamily: Typography.text80.fontFamily
6768
},
6869
backButton: {
6970
// visible: true,
70-
color: Colors.white,
71+
color: Colors.$iconDefaultLight,
7172
showTitle: Constants.isIOS ? false : undefined,
7273
testID: 'pop'
7374
},
74-
leftButtonColor: Colors.white,
75-
leftButtonDisabledColor: Colors.rgba(Colors.white, 0.6),
76-
rightButtonColor: Colors.white,
77-
rightButtonDisabledColor: Colors.rgba(Colors.white, 0.6)
75+
leftButtonColor: Colors.$iconDefaultLight,
76+
leftButtonDisabledColor: Colors.$iconDisabled,
77+
rightButtonColor: Colors.$iconDefaultLight,
78+
rightButtonDisabledColor: Colors.$iconDisabled
7879
}
7980
};
8081
}

0 commit comments

Comments
 (0)