Commit 050d69a9 authored by Gayath's avatar Gayath

color changes on dark mode

parent df4fed0c
...@@ -98,8 +98,8 @@ export default function ({ navigation }) { ...@@ -98,8 +98,8 @@ export default function ({ navigation }) {
onChangeText={(text) => setEmail(text)} onChangeText={(text) => setEmail(text)}
/> />
<Text style={{ marginTop: 15, fontFamily: 'SFPRODISPLAYBOLD', color: isDarkmode ? "#FFFFFF" : "#000000", <Text style={{ marginTop: 15, fontFamily: 'SFPRODISPLAYBOLD',color: isDarkmode ? "#FFFFFF" : "#000000",
}}>Password</Text> }}>Password</Text>
<TextInput <TextInput
containerStyle={{ marginTop: 15 }} containerStyle={{ marginTop: 15 }}
placeholder="Enter your password" placeholder="Enter your password"
...@@ -115,8 +115,10 @@ export default function ({ navigation }) { ...@@ -115,8 +115,10 @@ export default function ({ navigation }) {
onPress={() => { onPress={() => {
login(); login();
}} }}
// textStyle={{fontFamily: SFPRODISPLAYBOLD}}
style={{ style={{
marginTop: 20, marginTop: 20,
fontFamily: 'SFPRODISPLAYBOLD'
}} }}
disabled={loading} disabled={loading}
/> />
...@@ -129,8 +131,9 @@ export default function ({ navigation }) { ...@@ -129,8 +131,9 @@ export default function ({ navigation }) {
justifyContent: "center", justifyContent: "center",
}} }}
> >
<Text size="md" style={{ color: isDarkmode ? "#FFFFFF" : "#000000", <Text size="md" style={{
}}>Don't have an account?</Text> color: isDarkmode ? "#FFFFFF" : "#000000",
}}>Don't have an account?</Text>
<TouchableOpacity <TouchableOpacity
onPress={() => { onPress={() => {
navigation.navigate("Register"); navigation.navigate("Register");
...@@ -163,8 +166,8 @@ export default function ({ navigation }) { ...@@ -163,8 +166,8 @@ export default function ({ navigation }) {
navigation.navigate("ForgetPassword"); navigation.navigate("ForgetPassword");
}} }}
> >
<Text size="md" fontWeight="bold" style={{ color: isDarkmode ? "#FFFFFF" : "#000000", <Text size="md" fontWeight="bold" style={{color:"#045DE9", fontWeight:"bold"
}}> }}>
Forget password Forget password
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment