1- import { StyleSheet } from " react-native" ;
1+ import { StyleSheet } from ' react-native' ;
22
3- import { COLORS , FONT , SHADOWS , SIZES } from "../../../../constants" ;
3+ import {
4+ COLORS , FONT , SHADOWS , SIZES ,
5+ } from '../../../../constants' ;
46
57const styles = StyleSheet . create ( {
68 container : ( selectedJob , item ) => ( {
79 width : 250 ,
810 padding : SIZES . xLarge ,
9- backgroundColor : selectedJob === item . job_id ? COLORS . primary : " #FFF" ,
11+ backgroundColor : selectedJob === item . job_id ? COLORS . primary : ' #FFF' ,
1012 borderRadius : SIZES . medium ,
11- justifyContent : " space-between" ,
13+ justifyContent : ' space-between' ,
1214 ...SHADOWS . medium ,
1315 shadowColor : COLORS . white ,
1416 } ) ,
1517 logoContainer : ( selectedJob , item ) => ( {
1618 width : 50 ,
1719 height : 50 ,
18- backgroundColor : selectedJob === item . job_id ? " #FFF" : COLORS . white ,
20+ backgroundColor : selectedJob === item . job_id ? ' #FFF' : COLORS . white ,
1921 borderRadius : SIZES . medium ,
20- justifyContent : " center" ,
21- alignItems : " center" ,
22+ justifyContent : ' center' ,
23+ alignItems : ' center' ,
2224 } ) ,
2325 logoImage : {
24- width : " 70%" ,
25- height : " 70%" ,
26+ width : ' 70%' ,
27+ height : ' 70%' ,
2628 } ,
2729 companyName : {
2830 fontSize : SIZES . medium ,
2931 fontFamily : FONT . regular ,
30- color : " #B3AEC6" ,
32+ color : ' #B3AEC6' ,
3133 marginTop : SIZES . small / 1.5 ,
3234 } ,
3335 infoContainer : {
@@ -39,10 +41,10 @@ const styles = StyleSheet.create({
3941 color : selectedJob === item . job_id ? COLORS . white : COLORS . primary ,
4042 } ) ,
4143 infoWrapper : {
42- flexDirection : " row" ,
44+ flexDirection : ' row' ,
4345 marginTop : 5 ,
44- justifyContent : " flex-start" ,
45- alignItems : " center" ,
46+ justifyContent : ' flex-start' ,
47+ alignItems : ' center' ,
4648 } ,
4749 publisher : ( selectedJob ) => ( {
4850 fontSize : SIZES . medium - 2 ,
@@ -52,7 +54,7 @@ const styles = StyleSheet.create({
5254 location : {
5355 fontSize : SIZES . medium - 2 ,
5456 fontFamily : FONT . regular ,
55- color : " #B3AEC6" ,
57+ color : ' #B3AEC6' ,
5658 } ,
5759} ) ;
5860
0 commit comments