Skip to content

Commit 990d816

Browse files
authored
Update iOS design in styles.js (#281)
* Update iOS design in styles.js Closes #280. * Fix chevron and done button color iOS defaults to .systemBlueColor which is #007aff
1 parent 45193e4 commit 990d816

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/styles.js

+11-11
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export const defaultStyles = StyleSheet.create({
1212
flex: 1,
1313
},
1414
modalViewMiddle: {
15-
height: 44,
15+
height: 45,
1616
flexDirection: 'row',
1717
justifyContent: 'space-between',
1818
alignItems: 'center',
1919
paddingHorizontal: 10,
20-
backgroundColor: '#EFF1F2',
21-
borderTopWidth: 0.5,
22-
borderTopColor: '#919498',
20+
backgroundColor: '#f8f8f8',
21+
borderTopWidth: 1,
22+
borderTopColor: '#dedede',
2323
zIndex: 2,
2424
},
2525
chevronContainer: {
@@ -29,7 +29,7 @@ export const defaultStyles = StyleSheet.create({
2929
width: 15,
3030
height: 15,
3131
backgroundColor: 'transparent',
32-
borderColor: '#D0D4DB',
32+
borderColor: '#a1a1a1',
3333
borderTopWidth: 1.5,
3434
borderRightWidth: 1.5,
3535
},
@@ -42,18 +42,18 @@ export const defaultStyles = StyleSheet.create({
4242
transform: [{ translateY: -5 }, { rotate: '135deg' }],
4343
},
4444
chevronActive: {
45-
borderColor: '#007AFE',
45+
borderColor: '#007aff',
4646
},
4747
done: {
48-
color: '#007AFE',
49-
fontWeight: 'bold',
50-
fontSize: 15,
48+
color: '#007aff',
49+
fontWeight: '600',
50+
fontSize: 17,
5151
paddingTop: 1,
52-
paddingRight: 2,
52+
paddingRight: 11,
5353
},
5454
modalViewBottom: {
5555
justifyContent: 'center',
56-
backgroundColor: '#D0D4DB',
56+
backgroundColor: '#d0d4da',
5757
},
5858
placeholder: {
5959
color: '#C7C7CD',

0 commit comments

Comments
 (0)