themed style
This commit is contained in:
@@ -19,7 +19,6 @@ import type { StackNavigationProp } from "@react-navigation/stack";
|
|||||||
import { RootStackParamList } from "../navigation/AppNavigator";
|
import { RootStackParamList } from "../navigation/AppNavigator";
|
||||||
import { CustomButton, CustomInput } from "../components/common/Custom";
|
import { CustomButton, CustomInput } from "../components/common/Custom";
|
||||||
import colors from "../components/colors";
|
import colors from "../components/colors";
|
||||||
import AnimatedText from "../components/common/AnimatedText";
|
|
||||||
|
|
||||||
const theme = {
|
const theme = {
|
||||||
primary: "#111111",
|
primary: "#111111",
|
||||||
@@ -84,9 +83,9 @@ export default function LoginScreen() {
|
|||||||
} else {
|
} else {
|
||||||
Alert.alert("Please enter a valid 10-digit mobile number");
|
Alert.alert("Please enter a valid 10-digit mobile number");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<KeyboardAvoidingView
|
<KeyboardAvoidingView
|
||||||
style={styles.container}
|
style={styles.container}
|
||||||
behavior={Platform.OS === "ios" ? "padding" : undefined}
|
behavior={Platform.OS === "ios" ? "padding" : undefined}
|
||||||
@@ -95,7 +94,6 @@ return (
|
|||||||
|
|
||||||
{/* Top content */}
|
{/* Top content */}
|
||||||
<View style={styles.topSection}>
|
<View style={styles.topSection}>
|
||||||
{/* <AnimatedText text="Welcome to Reanimated" style={styles.subtitle} delay={200} /> */}
|
|
||||||
<Text style={styles.brand}>CircleCollect</Text>
|
<Text style={styles.brand}>CircleCollect</Text>
|
||||||
<Text style={styles.title}>Welcome Back 👋</Text>
|
<Text style={styles.title}>Welcome Back 👋</Text>
|
||||||
<Text style={styles.subtitle}>
|
<Text style={styles.subtitle}>
|
||||||
@@ -134,7 +132,7 @@ return (
|
|||||||
</Text>
|
</Text>
|
||||||
</Animated.View>
|
</Animated.View>
|
||||||
</KeyboardAvoidingView>
|
</KeyboardAvoidingView>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
|||||||
Reference in New Issue
Block a user