File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ export default function AppOnboarding() {
29
29
const pagerViewRef = useRef < PagerView > ( null ) ;
30
30
const [ page , setPage ] = useState < number > ( 0 ) ;
31
31
32
- const textColor = colorScheme === 'dark' ? 'bg -gray-100' : 'bg -gray-800' ;
33
- const bgColor = colorScheme === 'dark' ? 'bg-primary-dark' : 'bg-primary -light' ;
32
+ const textColor = colorScheme === 'dark' ? 'text -gray-100' : 'text -gray-800' ;
33
+ const bgColor = colorScheme === 'dark' ? 'bg-primary-dark' : 'bg-secondary -light' ;
34
34
35
35
const getDotColor = ( index : number ) => ( index === page ? 'bg-action-500' : 'bg-white' ) ;
36
36
@@ -63,13 +63,8 @@ export default function AppOnboarding() {
63
63
style = { { width : '100%' , flex : 1 } }
64
64
/>
65
65
< Text
66
- style = { {
67
- color : textColor ,
68
- fontSize : 24 ,
69
- textAlign : 'center' ,
70
- } }
71
- className = "font-Inter-SemiBold leading-9"
72
- >
66
+ style = { { fontSize : 24 } }
67
+ className = { `font-Inter-SemiBold text-center leading-9 ${ textColor } ` } >
73
68
{ page . content }
74
69
</ Text >
75
70
</ View >
You can’t perform that action at this time.
0 commit comments