themming and try to create awesome theme

This commit is contained in:
Jaanu423
2025-09-15 18:01:37 +05:30
15 changed files with 706 additions and 328 deletions
+4 -3
View File
@@ -2,12 +2,13 @@ import { StyleSheet, Text, View } from 'react-native'
import React from 'react'
import AppView from '../../components/AppView'
import UserProfileStatus from './UserProfileStatus'
import colors from '../../components/colors'
const Home = () => {
return (
<AppView>
<UserProfileStatus/>
</AppView>
<AppView backgroundColor={colors.pastelPink} barStyle="dark-content">
<UserProfileStatus/>
</AppView>
)
}
+4 -4
View File
@@ -9,8 +9,8 @@ import {
Alert,
} from "react-native";
import * as Keychain from "react-native-keychain";
import { base_URL } from "../../utils/ApiUrls";
import { useFocusEffect, useNavigation } from "@react-navigation/native";
import { BASE_URL } from "../../utils/ApiUrls";
export type ApiResponse = {
message: string;
@@ -43,7 +43,7 @@ const UserProfileStatus: React.FC = () => {
setLoading(true);
setError(null);
const response = await fetch(`${base_URL}user/profile/status`, {
const response = await fetch(`${BASE_URL}user/profile/status`, {
method: "GET",
headers: {
Accept: "*/*",
@@ -154,8 +154,8 @@ export default UserProfileStatus;
const styles = StyleSheet.create({
container: {
flex: 1,
padding: 16,
backgroundColor: "#f5f7fb",
// padding: 16,
// backgroundColor: "#f5f7fb",
},
centered: {
flex: 1,