@@ -48,7 +48,7 @@ export default function AuthScreen() {
4848 < View className = "flex-1 px-6 pt-16" >
4949 { /* Header */ }
5050 < View className = "mb-10" >
51- < Text className = "text-3xl font-bold text-white mb-2 " >
51+ < Text className = "mb-2 font-bold text-3xl text-white " >
5252 PostHog Mobile
5353 </ Text >
5454 < Text className = "text-base text-dark-text-muted" >
@@ -58,24 +58,24 @@ export default function AuthScreen() {
5858
5959 { /* Form */ }
6060 < View className = "gap-4" >
61- < Text className = "text-sm font-medium text-dark-text-muted mb-2 " >
61+ < Text className = "mb-2 font-medium text-dark-text-muted text-sm " >
6262 PostHog region
6363 </ Text >
6464
6565 { /* Region Picker */ }
66- < View className = "flex-row gap-3 mb-4 " >
66+ < View className = "mb-4 flex-row gap-3" >
6767 { REGIONS . map ( ( region ) => (
6868 < TouchableOpacity
6969 key = { region . value }
70- className = { `flex-1 py-3 px-4 rounded-lg border items-center ${
70+ className = { `flex-1 items-center rounded-lg border px-4 py-3 ${
7171 selectedRegion === region . value
7272 ? "border-orange-500 bg-orange-500/10"
7373 : "border-dark-border bg-dark-surface"
7474 } `}
7575 onPress = { ( ) => setSelectedRegion ( region . value ) }
7676 >
7777 < Text
78- className = { `text-sm font-medium ${
78+ className = { `font-medium text-sm ${
7979 selectedRegion === region . value
8080 ? "text-orange-500"
8181 : "text-dark-text-muted"
@@ -89,14 +89,14 @@ export default function AuthScreen() {
8989
9090 { /* Error Message */ }
9191 { error && (
92- < View className = "bg-red-500/10 rounded-lg p-3 border border-red-500" >
92+ < View className = "rounded-lg border border-red-500 bg-red-500/10 p-3 " >
9393 < Text className = "text-red-500 text-sm" > { error } </ Text >
9494 </ View >
9595 ) }
9696
9797 { /* Loading Message */ }
9898 { isLoading && (
99- < View className = "bg-blue-500/10 rounded-lg p-3 border border-blue-500" >
99+ < View className = "rounded-lg border border-blue-500 bg-blue-500/10 p-3 " >
100100 < Text className = "text-blue-500 text-sm" >
101101 Waiting for authorization in your browser...
102102 </ Text >
@@ -105,7 +105,7 @@ export default function AuthScreen() {
105105
106106 { /* Sign In Button */ }
107107 < TouchableOpacity
108- className = { `py-4 rounded-lg items-center mt-2 ${
108+ className = { `mt-2 items-center rounded-lg py-4 ${
109109 isLoading ? "bg-gray-600" : "bg-orange-500"
110110 } `}
111111 onPress = { handleSignIn }
@@ -114,7 +114,7 @@ export default function AuthScreen() {
114114 { isLoading ? (
115115 < ActivityIndicator color = "#fff" />
116116 ) : (
117- < Text className = "text-white text-base font-semibold " >
117+ < Text className = "font-semibold text-base text-white " >
118118 Sign in with PostHog
119119 </ Text >
120120 ) }
0 commit comments