File tree 9 files changed +118
-194
lines changed
notificationSettingsScreen
9 files changed +118
-194
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { COLOR } from '@/global/constants';
5
5
import IssuesBanner from './IssuesBanner' ;
6
6
import RecommendedRoutes from './RecommendedRoutes' ;
7
7
import SubwayRoute from '@/screens/selectNewRouteScreen/components/SubwayRoute' ;
8
+ import styled from '@emotion/native' ;
8
9
9
10
const IssueBox = ( ) => {
10
11
const hasSavedRoutes = true ;
@@ -16,33 +17,34 @@ const IssueBox = () => {
16
17
< View style = { styles . textContainer } >
17
18
< FontText
18
19
value = "출근길 "
19
- textSize = "20px "
20
+ textSize = "18px "
20
21
textWeight = "Bold"
21
- lineHeight = "25px "
22
+ lineHeight = "23px "
22
23
textColor = { COLOR . BASIC_BLACK }
23
24
/>
24
- < FontText
25
- style = { styles . grayEllipse }
26
- value = "42분 이상 예상"
27
- textSize = "16px"
28
- textWeight = "Medium"
29
- lineHeight = "21px"
30
- textColor = { COLOR . GRAY_999 }
31
- />
25
+ < GrayEllipse >
26
+ < FontText
27
+ value = "42분 이상 예상"
28
+ textSize = "12px"
29
+ textWeight = "Medium"
30
+ lineHeight = "14px"
31
+ textColor = { COLOR . GRAY_999 }
32
+ />
33
+ </ GrayEllipse >
32
34
</ View >
33
35
< View style = { styles . textContainer } >
34
36
< FontText
35
37
value = "세부정보 "
36
- textSize = "16px "
37
- textWeight = "Medium "
38
- lineHeight = "21px "
38
+ textSize = "13px "
39
+ textWeight = "Regular "
40
+ lineHeight = "19px "
39
41
textColor = { COLOR . GRAY_999 }
40
42
/>
41
43
< IconButton
42
44
isFontIcon = { false }
43
45
imagePath = "more_gray"
44
- iconWidth = "8px "
45
- iconHeight = "14px "
46
+ iconWidth = "4.5px "
47
+ iconHeight = "8px "
46
48
/>
47
49
</ View >
48
50
</ View >
@@ -95,3 +97,9 @@ const styles = StyleSheet.create({
95
97
} ) ;
96
98
97
99
export default IssueBox ;
100
+
101
+ const GrayEllipse = styled . View `
102
+ padding: 4px 6px;
103
+ border-radius: 16px;
104
+ background: #f7f7f9;
105
+ ` ;
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ const IssuesBanner = () => {
15
15
< FontText
16
16
style = { styles . buttonIssues }
17
17
value = "폭우로 인한 4호선 운행정지"
18
- textSize = "17px "
18
+ textSize = "13px "
19
19
textWeight = "SemiBold"
20
- lineHeight = "21px "
20
+ lineHeight = "19px "
21
21
textColor = { COLOR . BASIC_BLACK }
22
22
/>
23
- < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "7px " iconHeight = "12px " />
23
+ < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "4.5px " iconHeight = "8px " />
24
24
</ View >
25
25
) ;
26
26
} ;
@@ -34,8 +34,8 @@ const styles = StyleSheet.create({
34
34
borderRadius : 40 ,
35
35
marginTop : 25 ,
36
36
marginBottom : 30 ,
37
- paddingHorizontal : 13 ,
38
- paddingVertical : 8 ,
37
+ paddingHorizontal : 12.5 ,
38
+ paddingVertical : 6 ,
39
39
} ,
40
40
buttonIssues : {
41
41
flex : 1 ,
Original file line number Diff line number Diff line change @@ -18,29 +18,29 @@ const RecentSearchBox = () => {
18
18
< View style = { styles . textContainer } >
19
19
< FontText
20
20
value = { `${ recentSearchData [ 0 ] . stationName } -> ${ recentSearchData [ 0 ] . destination } ` }
21
- textSize = "20px "
21
+ textSize = "18px "
22
22
textWeight = "Bold"
23
- lineHeight = "25px "
23
+ lineHeight = "23px "
24
24
textColor = { COLOR . BASIC_BLACK }
25
25
/>
26
26
< FontText
27
27
value = { `${ recentSearchData [ 0 ] . duration } 소요` }
28
- textSize = "16px "
28
+ textSize = "12px "
29
29
textWeight = "Medium"
30
- lineHeight = "21px "
30
+ lineHeight = "14px "
31
31
textColor = { COLOR . GRAY_999 }
32
32
/>
33
33
</ View >
34
34
< View style = { styles . textContainer } >
35
35
< TextButton
36
36
value = "세부정보 "
37
- textSize = "16px"
37
+ textSize = "13px"
38
+ textWeight = "Regular"
39
+ lineHeight = "19px"
38
40
textColor = { COLOR . GRAY_999 }
39
- textWeight = "Medium"
40
- lineHeight = "21px"
41
41
onPress = { routeDetail }
42
42
/>
43
- < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "8px " iconHeight = "14px " />
43
+ < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "4.5px " iconHeight = "8px " />
44
44
</ View >
45
45
</ View >
46
46
< View style = { styles . containerSubwayRoute } >
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ const RecommendedRoutes = () => {
16
16
< View style = { styles . textContainer } >
17
17
< FontText
18
18
value = "대체 경로 "
19
- textSize = "20px "
20
- textWeight = "Bold "
21
- lineHeight = "25px "
19
+ textSize = "16px "
20
+ textWeight = "SemiBold "
21
+ lineHeight = "21px "
22
22
textColor = { COLOR . BASIC_BLACK }
23
23
/>
24
24
< FontText
25
25
value = "평균 42분"
26
- textSize = "14px "
26
+ textSize = "12px "
27
27
textWeight = "Regular"
28
28
lineHeight = "15px"
29
29
textColor = { COLOR . BASIC_BLACK }
@@ -32,28 +32,27 @@ const RecommendedRoutes = () => {
32
32
< View style = { styles . textContainer } >
33
33
< TextButton
34
34
value = "세부정보 "
35
- textSize = "16px "
35
+ textSize = "13px "
36
36
textColor = { COLOR . GRAY_999 }
37
- textWeight = "Medium "
38
- lineHeight = "21px "
37
+ textWeight = "Regular "
38
+ lineHeight = "19px "
39
39
onPress = { routeDetail }
40
40
/>
41
- < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "8px " iconHeight = "14px " />
41
+ < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "4.5px " iconHeight = "8px " />
42
42
</ View >
43
43
</ View >
44
44
45
45
< View style = { styles . containerSubwayRoute } >
46
46
< SubwayRoute />
47
47
</ View >
48
- </ Container >
48
+ </ Container >
49
49
) ;
50
50
} ;
51
51
52
52
const Container = styled . View `
53
- backgroundcolor: #f2f2f2;
54
- padding: 0 16px;
55
- borderradius: 13px;
56
- padding: 20px;
53
+ background: #f7f7f9;
54
+ padding: 16px;
55
+ border-radius: 8px;
57
56
` ;
58
57
59
58
const styles = StyleSheet . create ( {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import IssuesBanner from './IssuesBanner';
6
6
import RecommendedRoutes from './RecommendedRoutes' ;
7
7
import SubwayRoute from '@/screens/selectNewRouteScreen/components/SubwayRoute' ;
8
8
import { useGetSavedRoutesQuery } from '@/global/apis/hook' ;
9
+ import styled from '@emotion/native' ;
9
10
10
11
const SavedRouteBox = ( ) => {
11
12
const { data : savedRoutes } = useGetSavedRoutesQuery ( ) ;
@@ -17,29 +18,30 @@ const SavedRouteBox = () => {
17
18
< View style = { styles . textContainer } >
18
19
< FontText
19
20
value = { `${ savedRoutes [ 0 ] . roadName } ` }
20
- textSize = "20px "
21
+ textSize = "18px "
21
22
textWeight = "Bold"
22
- lineHeight = "25px "
23
+ lineHeight = "23px "
23
24
textColor = { COLOR . BASIC_BLACK }
24
25
/>
25
- < FontText
26
- style = { styles . grayEllipse }
27
- value = "42분 이상 예상"
28
- textSize = "16px"
29
- textWeight = "Medium"
30
- lineHeight = "21px"
31
- textColor = { COLOR . GRAY_999 }
32
- />
26
+ < GrayEllipse >
27
+ < FontText
28
+ value = "42분 이상 예상"
29
+ textSize = "12px"
30
+ textWeight = "Medium"
31
+ lineHeight = "14px"
32
+ textColor = { COLOR . GRAY_999 }
33
+ />
34
+ </ GrayEllipse >
33
35
</ View >
34
36
< View style = { styles . textContainer } >
35
37
< FontText
36
38
value = "세부정보 "
37
- textSize = "16px "
38
- textWeight = "Medium "
39
- lineHeight = "21px "
39
+ textSize = "13px "
40
+ textWeight = "Regular "
41
+ lineHeight = "19px "
40
42
textColor = { COLOR . GRAY_999 }
41
43
/>
42
- < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "8px " iconHeight = "14px " />
44
+ < IconButton isFontIcon = { false } imagePath = "more_gray" iconWidth = "4.5px " iconHeight = "8px " />
43
45
</ View >
44
46
</ View >
45
47
< View style = { styles . containerSubwayRoute } >
@@ -92,3 +94,9 @@ const styles = StyleSheet.create({
92
94
} ) ;
93
95
94
96
export default SavedRouteBox ;
97
+
98
+ const GrayEllipse = styled . View `
99
+ padding: 4px 6px;
100
+ border-radius: 16px;
101
+ background: #f7f7f9;
102
+ ` ;
Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ const SavedRouteIssues = () => {
19
19
< TouchableOpacity
20
20
key = { text }
21
21
onPress = { ( ) => handleButtonClick ( text ) }
22
- style = { [ styles . navButton , { backgroundColor : activeButton === text ? '#474747' : 'white' } ] }
22
+ style = { [
23
+ styles . navButton ,
24
+ {
25
+ backgroundColor : activeButton === text ? '#474747' : 'white' ,
26
+ borderColor : activeButton === text ? 'transparent' : '#EBEBEB' ,
27
+ } ,
28
+ ] }
23
29
>
24
30
< FontText
25
31
value = { text }
You can’t perform that action at this time.
0 commit comments