File tree Expand file tree Collapse file tree 7 files changed +19
-13
lines changed Expand file tree Collapse file tree 7 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ const Colors = {
26
26
google : '#ffffff' ,
27
27
facebook : '#ffffff' ,
28
28
29
- gradientBaseBegin : '#ff9147 ' ,
30
- gradientBaseEnd : '#ff524c ' ,
29
+ gradientBaseBegin : '#6b35e4 ' ,
30
+ gradientBaseEnd : '#6b35e4 ' ,
31
31
gradientVisaBegin :'#63e2ff' ,
32
32
gradientVisaEnd :'#712ec3' ,
33
33
gradientMasterBegin :'#febb5b' ,
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import PropTypes from 'prop-types'
3
3
import {
4
4
ListView ,
5
5
TouchableHighlight ,
6
- View
6
+ View ,
7
+ StyleSheet
7
8
} from 'react-native' ;
8
9
import { RkStyleSheet , RkTheme , RkText } from 'react-native-ui-kitten' ;
9
10
@@ -68,7 +69,7 @@ let styles = RkStyleSheet.create(theme => ({
68
69
item : {
69
70
paddingVertical : 32.5 ,
70
71
paddingHorizontal : 16.5 ,
71
- borderBottomWidth : 1 ,
72
+ borderBottomWidth : StyleSheet . hairlineWidth ,
72
73
borderColor : theme . colors . border . base ,
73
74
} ,
74
75
list : {
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import {
3
3
FlatList ,
4
- View
4
+ View ,
5
+ StyleSheet
5
6
} from 'react-native' ;
6
7
import _ from 'lodash' ;
7
8
import {
@@ -122,7 +123,7 @@ let styles = RkStyleSheet.create(theme => ({
122
123
marginBottom : 6
123
124
} ,
124
125
separator : {
125
- height : 1 ,
126
+ height : StyleSheet . hairlineWidth ,
126
127
backgroundColor : theme . colors . border . base
127
128
}
128
129
} ) ) ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React from 'react';
2
2
import {
3
3
FlatList ,
4
4
View ,
5
+ StyleSheet
5
6
} from 'react-native' ;
6
7
import {
7
8
RkStyleSheet ,
@@ -87,7 +88,7 @@ let styles = RkStyleSheet.create(theme => ({
87
88
marginBottom : 6
88
89
} ,
89
90
separator : {
90
- height : 1 ,
91
+ height : StyleSheet . hairlineWidth ,
91
92
backgroundColor : theme . colors . border . base
92
93
}
93
94
} ) ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ import React from 'react';
2
2
import {
3
3
ListView ,
4
4
TouchableHighlight ,
5
- View
5
+ View ,
6
+ StyleSheet
6
7
} from 'react-native' ;
7
8
import {
8
9
RkText ,
@@ -56,7 +57,7 @@ let styles = RkStyleSheet.create(theme => ({
56
57
item : {
57
58
height : 80 ,
58
59
justifyContent : 'center' ,
59
- borderBottomWidth : 1 ,
60
+ borderBottomWidth : StyleSheet . hairlineWidth ,
60
61
borderColor : theme . colors . border . base ,
61
62
paddingHorizontal : 16
62
63
} ,
Original file line number Diff line number Diff line change 4
4
View ,
5
5
ScrollView ,
6
6
Image ,
7
- Platform
7
+ Platform ,
8
+ StyleSheet
8
9
} from 'react-native' ;
9
10
import { NavigationActions } from 'react-navigation' ;
10
11
import {
@@ -79,7 +80,7 @@ let styles = RkStyleSheet.create(theme => ({
79
80
container : {
80
81
height : 80 ,
81
82
paddingHorizontal : 16 ,
82
- borderTopWidth : 1 ,
83
+ borderTopWidth : StyleSheet . hairlineWidth ,
83
84
borderColor : theme . colors . border . base
84
85
} ,
85
86
root : {
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ import React from 'react';
2
2
import {
3
3
ScrollView ,
4
4
View ,
5
- TouchableOpacity
5
+ TouchableOpacity ,
6
+ StyleSheet
6
7
} from 'react-native' ;
7
8
import {
8
9
RkText ,
@@ -136,7 +137,7 @@ let styles = RkStyleSheet.create(theme => ({
136
137
flexDirection : 'row' ,
137
138
justifyContent : 'space-between' ,
138
139
paddingHorizontal : 17.5 ,
139
- borderBottomWidth : 1 ,
140
+ borderBottomWidth : StyleSheet . hairlineWidth ,
140
141
borderColor : theme . colors . border . base ,
141
142
alignItems : 'center'
142
143
} ,
You can’t perform that action at this time.
0 commit comments