Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26f6541

Browse files
committed
fix(design) fixed separator heights
1 parent 275e950 commit 26f6541

File tree

7 files changed

+19
-13
lines changed

7 files changed

+19
-13
lines changed

app/config/darkTheme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const Colors = {
2626
google: '#ffffff',
2727
facebook: '#ffffff',
2828

29-
gradientBaseBegin: '#ff9147',
30-
gradientBaseEnd: '#ff524c',
29+
gradientBaseBegin: '#6b35e4',
30+
gradientBaseEnd: '#6b35e4',
3131
gradientVisaBegin:'#63e2ff',
3232
gradientVisaEnd:'#712ec3',
3333
gradientMasterBegin:'#febb5b',

app/screens/menu/categoryMenu.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import PropTypes from 'prop-types'
33
import {
44
ListView,
55
TouchableHighlight,
6-
View
6+
View,
7+
StyleSheet
78
} from 'react-native';
89
import {RkStyleSheet, RkTheme, RkText} from 'react-native-ui-kitten';
910

@@ -68,7 +69,7 @@ let styles = RkStyleSheet.create(theme => ({
6869
item: {
6970
paddingVertical: 32.5,
7071
paddingHorizontal: 16.5,
71-
borderBottomWidth: 1,
72+
borderBottomWidth: StyleSheet.hairlineWidth,
7273
borderColor: theme.colors.border.base,
7374
},
7475
list: {

app/screens/messaging/chatList.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React from 'react';
22
import {
33
FlatList,
4-
View
4+
View,
5+
StyleSheet
56
} from 'react-native';
67
import _ from 'lodash';
78
import {
@@ -122,7 +123,7 @@ let styles = RkStyleSheet.create(theme => ({
122123
marginBottom: 6
123124
},
124125
separator: {
125-
height: 1,
126+
height: StyleSheet.hairlineWidth,
126127
backgroundColor: theme.colors.border.base
127128
}
128129
}));

app/screens/messaging/comments.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import {
33
FlatList,
44
View,
5+
StyleSheet
56
} from 'react-native';
67
import {
78
RkStyleSheet,
@@ -87,7 +88,7 @@ let styles = RkStyleSheet.create(theme => ({
8788
marginBottom: 6
8889
},
8990
separator: {
90-
height: 1,
91+
height: StyleSheet.hairlineWidth,
9192
backgroundColor: theme.colors.border.base
9293
}
9394
}));

app/screens/navigation/list.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import React from 'react';
22
import {
33
ListView,
44
TouchableHighlight,
5-
View
5+
View,
6+
StyleSheet
67
} from 'react-native';
78
import {
89
RkText,
@@ -56,7 +57,7 @@ let styles = RkStyleSheet.create(theme => ({
5657
item: {
5758
height: 80,
5859
justifyContent: 'center',
59-
borderBottomWidth: 1,
60+
borderBottomWidth: StyleSheet.hairlineWidth,
6061
borderColor: theme.colors.border.base,
6162
paddingHorizontal: 16
6263
},

app/screens/navigation/sideMenu.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import {
44
View,
55
ScrollView,
66
Image,
7-
Platform
7+
Platform,
8+
StyleSheet
89
} from 'react-native';
910
import {NavigationActions} from 'react-navigation';
1011
import {
@@ -79,7 +80,7 @@ let styles = RkStyleSheet.create(theme => ({
7980
container: {
8081
height: 80,
8182
paddingHorizontal: 16,
82-
borderTopWidth: 1,
83+
borderTopWidth: StyleSheet.hairlineWidth,
8384
borderColor: theme.colors.border.base
8485
},
8586
root: {

app/screens/other/settings.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import React from 'react';
22
import {
33
ScrollView,
44
View,
5-
TouchableOpacity
5+
TouchableOpacity,
6+
StyleSheet
67
} from 'react-native';
78
import {
89
RkText,
@@ -136,7 +137,7 @@ let styles = RkStyleSheet.create(theme => ({
136137
flexDirection: 'row',
137138
justifyContent: 'space-between',
138139
paddingHorizontal: 17.5,
139-
borderBottomWidth: 1,
140+
borderBottomWidth: StyleSheet.hairlineWidth,
140141
borderColor: theme.colors.border.base,
141142
alignItems: 'center'
142143
},

0 commit comments

Comments
 (0)