File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 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() {
2929 const pagerViewRef = useRef < PagerView > ( null ) ;
3030 const [ page , setPage ] = useState < number > ( 0 ) ;
3131
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' ;
3434
3535 const getDotColor = ( index : number ) => ( index === page ? 'bg-action-500' : 'bg-white' ) ;
3636
@@ -63,13 +63,8 @@ export default function AppOnboarding() {
6363 style = { { width : '100%' , flex : 1 } }
6464 />
6565 < 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 } ` } >
7368 { page . content }
7469 </ Text >
7570 </ View >
You can’t perform that action at this time.
0 commit comments