@fadyshawky/react-native-magic 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/package.json +1 -1
  2. package/template/App.tsx +28 -19
  3. package/template/ios/reactnativemagic/AppDelegate.mm +5 -0
  4. package/template/src/common/ImageResources.g.ts +1 -33
  5. package/template/src/common/components/Background.tsx +7 -7
  6. package/template/src/common/components/Container.tsx +7 -10
  7. package/template/src/common/localization/LocalizationProvider.tsx +14 -17
  8. package/template/src/common/localization/RTLInitializer.tsx +90 -0
  9. package/template/src/common/localization/intlFormatter.ts +37 -0
  10. package/template/src/common/localization/localization.ts +1 -3
  11. package/template/src/common/localization/translations/commonLocalization.ts +11 -81
  12. package/template/src/common/localization/translations/emptyLocalization.ts +6 -2
  13. package/template/src/common/localization/translations/errorsLocalization.ts +33 -13
  14. package/template/src/common/localization/translations/homeLocalization.ts +4 -24
  15. package/template/src/common/localization/translations/loginLocalization.ts +26 -29
  16. package/template/src/common/localization/translations/mainNavigationLocalization.ts +2 -2
  17. package/template/src/common/localization/translations/onboardingLocalization.ts +40 -9
  18. package/template/src/common/localization/translations/otpLocalization.ts +8 -8
  19. package/template/src/common/localization/translations/pagesLocalization.ts +13 -1
  20. package/template/src/common/localization/translations/passwordLocalization.ts +3 -3
  21. package/template/src/common/localization/translations/profileLocalization.ts +4 -4
  22. package/template/src/core/store/app/appState.ts +2 -2
  23. package/template/src/core/theme/colors.ts +106 -70
  24. package/template/src/core/theme/commonConsts.ts +1 -1
  25. package/template/src/core/theme/commonSizes.ts +119 -94
  26. package/template/src/core/theme/commonStyles.ts +22 -22
  27. package/template/src/core/theme/fonts.ts +13 -14
  28. package/template/src/core/theme/shadows.ts +135 -0
  29. package/template/src/core/theme/themes.ts +386 -75
  30. package/template/src/core/theme/types.ts +201 -15
  31. package/template/src/navigation/HeaderComponents.tsx +6 -30
  32. package/template/src/navigation/MainStack.tsx +6 -97
  33. package/template/src/screens/Login/Login.tsx +5 -7
  34. package/template/src/screens/OTP/OTPScreen.tsx +12 -13
  35. package/template/src/screens/home/HomeScreen.tsx +2 -295
  36. package/template/src/screens/profile/Profile.tsx +2 -290
  37. package/template/src/common/localization/translations/posLocalization.ts +0 -196
  38. package/template/src/components/PrinterExample.js +0 -226
  39. package/template/src/modules/SunmiCard.js +0 -212
  40. package/template/src/modules/SunmiPrepaid.ts +0 -122
  41. package/template/src/screens/Categories/Categories.tsx +0 -141
  42. package/template/src/screens/Categories/hooks/useCategoriesData.ts +0 -33
  43. package/template/src/screens/Categories/types.ts +0 -7
  44. package/template/src/screens/Favorites/Favorites.tsx +0 -130
  45. package/template/src/screens/ForceChangePassword/ForceChangePasswordScreen.tsx +0 -155
  46. package/template/src/screens/History/History.tsx +0 -430
  47. package/template/src/screens/History/hooks/useHistoryData.ts +0 -49
  48. package/template/src/screens/History/types.ts +0 -7
  49. package/template/src/screens/InquiredBill/InquiredBill.tsx +0 -443
  50. package/template/src/screens/InquiredBill/hooks/useInquiredData.ts +0 -91
  51. package/template/src/screens/PaymentConfirmation/PaymentConfirmation.tsx +0 -326
  52. package/template/src/screens/Providers/Providers.tsx +0 -166
  53. package/template/src/screens/Providers/hooks/useProvidersData.ts +0 -33
  54. package/template/src/screens/Providers/types.ts +0 -7
  55. package/template/src/screens/ReceiptScreen/ReceiptScreen.tsx +0 -181
  56. package/template/src/screens/ReceiptScreen/hooks/useReceiptData.ts +0 -46
  57. package/template/src/screens/ReceiptScreen/utils/utils.tsx +0 -156
  58. package/template/src/screens/Services/Services.tsx +0 -144
  59. package/template/src/screens/Services/hooks/useServicesData.ts +0 -41
  60. package/template/src/screens/SingleService/Components/FawryInputs.tsx +0 -446
  61. package/template/src/screens/SingleService/SingleService.tsx +0 -229
  62. package/template/src/screens/SingleService/hooks/useServiceData.ts +0 -164
  63. package/template/src/services/SunmiPrinterInternal.js +0 -268
  64. package/template/src/types/sunmiPrepaid.d.ts +0 -20
  65. package/template/src/utils/SunmiPrinter.ts +0 -442
  66. package/template/src/utils/feesCalculator.ts +0 -92
@@ -1,30 +1,10 @@
1
1
  export const homeLocalization = {
2
2
  en: {
3
- welcome: 'Hi ',
4
- home: 'Home',
5
- currentBalance: 'Current\nBalance',
6
- dailyCommission: 'Daily\nCommission',
7
- services: 'Services',
8
- categories: 'Categories',
9
- providers: 'Providers',
10
- seeAll: 'See All',
11
- enterCode: 'Enter Code',
12
- cancel: 'Cancel',
13
- search: 'Search',
14
- payByCode: 'Pay by Code',
3
+ welcome: 'Welcome',
4
+ title: 'Home',
15
5
  },
16
6
  ar: {
17
- welcome: 'مرحباً ',
18
- home: 'الرئيسية',
19
- currentBalance: 'الرصيد\nالحالي',
20
- dailyCommission: 'العمولة\nاليومية',
21
- services: 'الخدمات',
22
- categories: 'الفئات',
23
- providers: 'مقدمي الخدمات',
24
- seeAll: 'عرض الكل',
25
- enterCode: 'أدخل الرمز',
26
- cancel: 'إلغاء',
27
- search: 'بحث',
28
- payByCode: 'دفع بكود الخدمة',
7
+ welcome: 'مرحباً',
8
+ title: 'الرئيسية',
29
9
  },
30
10
  };
@@ -1,14 +1,17 @@
1
1
  export const loginLocalization = {
2
2
  en: {
3
3
  Login: 'Login',
4
- welcome: 'Welcome',
4
+ welcome: 'Welcome Back',
5
+ welcome_description: 'Sign in to your account to continue',
5
6
  Email: 'Email',
6
- EnterPhone: 'Enter phone',
7
+ EnterEmail: 'Enter your email',
7
8
  Password: 'Password',
8
- EnterPassword: 'Enter password',
9
+ EnterPassword: 'Enter your password',
10
+ PhoneNumber: 'Phone Number',
9
11
  forgetPassword: 'Forgot Password?',
10
- continue: 'continue',
11
- notMember: 'Not a member? Register now',
12
+ continue: 'Continue',
13
+ notMember: 'Not a member?',
14
+ identification_number: 'ID Number',
12
15
  registration: {
13
16
  title: 'Create Account',
14
17
  fullName: 'Full Name',
@@ -16,41 +19,35 @@ export const loginLocalization = {
16
19
  password: 'Password',
17
20
  confirmPassword: 'Confirm Password',
18
21
  register: 'Register',
19
- alreadyHaveAccount: 'Already have an account? Login',
22
+ alreadyHaveAccount: 'Already have an account?',
20
23
  },
21
24
  forgotPassword: {
22
25
  title: 'Forgot Password',
23
- description:
24
- "Enter your email address and we'll send you instructions to reset your password.",
26
+ description: 'Enter your email to reset your password',
25
27
  resetPassword: 'Reset Password',
26
28
  backToLogin: 'Back to Login',
27
29
  },
30
+ register_1: "Don't have an account?",
31
+ register_2: 'Sign up',
28
32
  },
29
33
  ar: {
30
34
  Login: 'تسجيل الدخول',
31
- welcome: 'مرحباً',
35
+ welcome: 'مرحباً بك',
36
+ welcome_description: 'سجل دخولك للمتابعة',
37
+ identification_number: 'رقم الهوية',
32
38
  Email: 'البريد الإلكتروني',
33
- EnterPhone: 'أدخل الهاتف',
39
+ EnterEmail: 'أدخل بريدك الإلكتروني',
34
40
  Password: 'كلمة المرور',
35
41
  EnterPassword: 'أدخل كلمة المرور',
36
- forgetPassword: 'نسيت كلمة المرور؟',
37
- continue: 'استمرار',
38
- notMember: 'لست عضواً؟ سجل الآن',
39
- registration: {
40
- title: 'إنشاء حساب',
41
- fullName: 'الاسم الكامل',
42
- email: 'البريد الإلكتروني',
43
- password: 'كلمة المرور',
44
- confirmPassword: 'تأكيد كلمة المرور',
45
- register: 'تسجيل',
46
- alreadyHaveAccount: 'لديك حساب بالفعل؟ تسجيل الدخول',
47
- },
48
- forgotPassword: {
49
- title: 'نسيت كلمة المرور',
50
- description:
51
- 'أدخل بريدك الإلكتروني وسنرسل لك تعليمات لإعادة تعيين كلمة المرور.',
52
- resetPassword: 'إعادة تعيين كلمة المرور',
53
- backToLogin: 'العودة إلى تسجيل الدخول',
54
- },
42
+ PhoneNumber: 'رقم الهاتف',
43
+ EnterPhoneNumber: 'أدخل رقم الهاتف',
44
+ Country: 'الدولة',
45
+ EnterCountry: 'أدخل الدولة',
46
+ CountryCode: 'رمز الدولة',
47
+ EnterCountryCode: 'أدخل رمز الدولة',
48
+ CountrySelector: 'اختر الدولة',
49
+ EnterCountrySelector: 'أدخل اختيار الدولة',
50
+ register_1: 'ليس لديك حساب؟',
51
+ register_2: 'سجل الآن',
55
52
  },
56
53
  };
@@ -1,7 +1,7 @@
1
1
  export const mainNavigationLocalization = {
2
2
  en: {
3
3
  tabs: {
4
- Main: 'Services',
4
+ Main: 'Home',
5
5
  Favorites: 'Favorites',
6
6
  Financials: 'Financials',
7
7
  Account: 'Account',
@@ -15,7 +15,7 @@ export const mainNavigationLocalization = {
15
15
  },
16
16
  ar: {
17
17
  tabs: {
18
- Main: 'الخدمات',
18
+ Main: 'الرئيسية',
19
19
  Favorites: 'المفضلة',
20
20
  Financials: 'المالية',
21
21
  Account: 'الحساب',
@@ -1,13 +1,44 @@
1
1
  export const onboardingLocalization = {
2
2
  en: {
3
- welcomeToApp: 'Welcome to\nApp',
4
- firstHeader: 'Welcome',
5
- firstBody: 'Thank you for choosing react-native-template-strong',
6
- secondHeader: 'Learn',
7
- secondBody:
8
- 'Some things are already done, to know more check the contents of pages and tabs',
9
- thirdHeader: 'Star',
10
- thirdBody:
11
- 'Star the repo if you find this project useful and participate in its development',
3
+ welcome: 'Welcome',
4
+ getStarted: 'Get Started',
5
+ skip: 'Skip',
6
+ next: 'Next',
7
+ done: 'Done',
8
+ slides: {
9
+ slide1: {
10
+ title: 'Welcome to Our App',
11
+ description: 'Discover amazing features and possibilities',
12
+ },
13
+ slide2: {
14
+ title: 'Easy to Use',
15
+ description: 'Simple and intuitive interface for everyone',
16
+ },
17
+ slide3: {
18
+ title: 'Get Started',
19
+ description: 'Ready to begin your journey with us',
20
+ },
21
+ },
22
+ },
23
+ ar: {
24
+ welcome: 'مرحباً',
25
+ getStarted: 'ابدأ',
26
+ skip: 'تخطي',
27
+ next: 'التالي',
28
+ done: 'تم',
29
+ slides: {
30
+ slide1: {
31
+ title: 'مرحباً بك في تطبيقنا',
32
+ description: 'اكتشف الميزات والإمكانيات الرائعة',
33
+ },
34
+ slide2: {
35
+ title: 'سهل الاستخدام',
36
+ description: 'واجهة بسيطة وبديهية للجميع',
37
+ },
38
+ slide3: {
39
+ title: 'ابدأ الآن',
40
+ description: 'مستعد لبدء رحلتك معنا',
41
+ },
42
+ },
12
43
  },
13
44
  };
@@ -3,26 +3,26 @@ export const otpLocalization = {
3
3
  title: 'Verification',
4
4
  subtitle: 'Enter the verification code sent to your phone',
5
5
  didntReceiveCode: "Didn't receive code?",
6
- resendIn: 'Resend code in {0}s',
6
+ resendIn: 'Resend in {0}s',
7
7
  resend: 'Resend',
8
8
  verify: 'Verify',
9
- invalidCode: 'Invalid verification code',
9
+ invalidCode: 'Invalid code',
10
10
  verificationFailed: 'Verification failed',
11
11
  verificationSuccess: 'Verification successful',
12
- resendSuccess: 'Code resent successfully',
13
- resendFailed: 'Failed to resend code',
12
+ resendSuccess: 'Code sent successfully',
13
+ resendFailed: 'Failed to send code',
14
14
  },
15
15
  ar: {
16
16
  title: 'التحقق',
17
17
  subtitle: 'أدخل رمز التحقق المرسل إلى هاتفك',
18
18
  didntReceiveCode: 'لم تستلم الرمز؟',
19
- resendIn: 'إعادة إرسال الرمز خلال {0} ثانية',
19
+ resendIn: 'إعادة إرسال خلال {0} ثانية',
20
20
  resend: 'إعادة إرسال',
21
21
  verify: 'تحقق',
22
- invalidCode: 'رمز التحقق غير صالح',
22
+ invalidCode: 'رمز غير صالح',
23
23
  verificationFailed: 'فشل التحقق',
24
24
  verificationSuccess: 'تم التحقق بنجاح',
25
- resendSuccess: 'تم إعادة إرسال الرمز بنجاح',
26
- resendFailed: 'فشل إعادة إرسال الرمز',
25
+ resendSuccess: 'تم إرسال الرمز بنجاح',
26
+ resendFailed: 'فشل إرسال الرمز',
27
27
  },
28
28
  };
@@ -8,7 +8,19 @@ export const pagesLocalization = {
8
8
  reports: 'Reports',
9
9
  learnings: 'Learnings',
10
10
  settings: 'Settings',
11
- selectDate: 'Select date',
11
+ selectDate: 'Select Date',
12
12
  storybook: 'Storybook',
13
13
  },
14
+ ar: {
15
+ main: 'الرئيسية',
16
+ login: 'تسجيل الدخول',
17
+ search: 'بحث',
18
+ pickup: 'استلام',
19
+ profile: 'الملف الشخصي',
20
+ reports: 'التقارير',
21
+ learnings: 'التعلم',
22
+ settings: 'الإعدادات',
23
+ selectDate: 'اختر التاريخ',
24
+ storybook: 'قصة',
25
+ },
14
26
  };
@@ -21,7 +21,7 @@ export const passwordLocalization = {
21
21
  subtitle: 'Enter your email to reset your password',
22
22
  resetPassword: 'Reset Password',
23
23
  backToLogin: 'Back to Login',
24
- resetEmailSent: 'Password reset email sent',
24
+ resetEmailSent: 'Reset email sent',
25
25
  resetEmailFailed: 'Failed to send reset email',
26
26
  },
27
27
  },
@@ -47,8 +47,8 @@ export const passwordLocalization = {
47
47
  subtitle: 'أدخل بريدك الإلكتروني لإعادة تعيين كلمة المرور',
48
48
  resetPassword: 'إعادة تعيين كلمة المرور',
49
49
  backToLogin: 'العودة إلى تسجيل الدخول',
50
- resetEmailSent: 'تم إرسال بريد إلكتروني لإعادة تعيين كلمة المرور',
51
- resetEmailFailed: 'فشل إرسال بريد إعادة تعيين كلمة المرور',
50
+ resetEmailSent: 'تم إرسال بريد إعادة التعيين',
51
+ resetEmailFailed: 'فشل إرسال بريد إعادة التعيين',
52
52
  },
53
53
  },
54
54
  };
@@ -1,6 +1,6 @@
1
1
  export const profileLocalization = {
2
2
  en: {
3
- studentProfile: 'Student Profile',
3
+ studentProfile: 'User Profile',
4
4
  allDetails: 'All Details',
5
5
  settings: 'Settings',
6
6
  darkMode: 'Dark Mode',
@@ -11,10 +11,10 @@ export const profileLocalization = {
11
11
  logout: 'Logout',
12
12
  changeLanguage: 'Change Language',
13
13
  changeLanguageConfirmation:
14
- 'Are you sure you want to change the language? The app will restart to apply changes.',
14
+ 'Are you sure you want to change the language? The app will restart.',
15
15
  },
16
16
  ar: {
17
- studentProfile: 'الملف الشخصي للطالب',
17
+ studentProfile: 'الملف الشخصي',
18
18
  allDetails: 'جميع التفاصيل',
19
19
  settings: 'الإعدادات',
20
20
  darkMode: 'الوضع الداكن',
@@ -25,6 +25,6 @@ export const profileLocalization = {
25
25
  logout: 'تسجيل الخروج',
26
26
  changeLanguage: 'تغيير اللغة',
27
27
  changeLanguageConfirmation:
28
- 'هل أنت متأكد أنك تريد تغيير اللغة؟ سيتم إعادة تشغيل التطبيق لتطبيق التغييرات.',
28
+ 'هل تريد تغيير اللغة؟ سيتم إعادة تشغيل التطبيق.',
29
29
  },
30
30
  };
@@ -6,6 +6,6 @@ export interface AppInitialEntity {
6
6
  }
7
7
 
8
8
  export const appInitialState: AppInitialEntity = {
9
- language: undefined,
10
- isRTL: false,
9
+ language: Languages.en,
10
+ isRTL: true,
11
11
  };
@@ -1,75 +1,111 @@
1
- export enum BlackColors {
2
- indigoBlue = '#6666FF',
3
- mutedLavender = '#B3B5FF',
4
- tintColor = '#B3B5FF',
5
- mutedLavender30 = 'rgba(184, 186, 255, 0.3)',
6
- balanceBackground = 'rgba(41, 45, 50, 0.8)',
7
- white = '#FFFFFF',
8
- backgroundOpacity = 'rgba(36, 40, 44, 0.8)',
9
- black = '#000000',
10
- background = '#000000',
11
- surface = '#121212',
12
- card = '#1E1E1E',
13
- shadow = '#FFFFFF',
14
- red = '#FB043E',
1
+ export enum PrimaryColors {
2
+ PlatinateBlue_0 = '#E9EDFF',
3
+ PlatinateBlue_25 = '#D3DAFF',
4
+ PlatinateBlue_50 = '#BDC8FF',
5
+ PlatinateBlue_100 = '#A7B5FF',
6
+ PlatinateBlue_200 = '#7C91FF',
7
+ PlatinateBlue_300 = '#506CFF',
8
+ PlatinateBlue_400 = '#2447FF',
9
+ PlatinateBlue_500 = '#1D39CC',
10
+ PlatinateBlue_600 = '#1D39CC',
11
+ PlatinateBlue_700 = '#0E1C66',
12
+ cetaceanBlue_0 = '#4C7CEA',
13
+ cetaceanBlue_25 = '#436FD5',
14
+ cetaceanBlue_50 = '#3B63BF',
15
+ cetaceanBlue_100 = '#3257AA',
16
+ cetaceanBlue_200 = '#223E80',
17
+ cetaceanBlue_300 = '#112655',
18
+ cetaceanBlue_400 = '#000D2B',
19
+ cetaceanBlue_500 = '#000A22',
20
+ cetaceanBlue_600 = '#00081A',
21
+ cetaceanBlue_700 = '#000511',
22
+ strokeDeactive = '#D3DAFF',
15
23
  }
16
24
 
17
- export enum WhiteColors {
18
- indigoBlue = '#6666FF',
19
- mutedLavender = '#B3B5FF',
20
- tintColor = '#6666FF',
21
- mutedLavender30 = 'rgba(184, 186, 255, 0.3)',
22
- balanceBackground = 'rgba(184, 186, 255, 0.3)',
23
- white = '#FFFFFF',
24
- backgroundOpacity = 'rgba(255, 255, 255, 0.7)',
25
- black = '#000000',
26
- background = '#FFFFFF',
27
- surface = '#FFFFFF',
28
- card = '#FFFFFF',
29
- shadow = 'rgba(0, 0, 0, 0.8)',
30
- red = '#FB043E',
25
+ export enum NaturalColors {
26
+ background_2 = '#F9F9F9',
27
+ grayScale_0 = '#FAFAFA',
28
+ grayScale_25 = '#A3AAAD',
29
+ grayScale_50 = '#949C9E',
30
+ grayScale_100 = '#858D8F',
31
+ grayScale_200 = '#686F72',
32
+ grayScale_300 = '#4A5254',
33
+ grayScale_400 = '#2D3436',
34
+ grayScale_500 = '#242A2B',
35
+ grayScale_600 = '#1B1F20',
36
+ grayScale_700 = '#121516',
37
+ naturalColor_0 = '#9C97B3',
38
+ naturalColor_25 = '#8E89A4',
39
+ naturalColor_50 = '#7F7B94',
40
+ naturalColor_100 = '#716D85',
41
+ naturalColor_200 = '#555265',
42
+ naturalColor_300 = '#383646',
43
+ naturalColor_400 = '#1C1A27',
44
+ naturalColor_500 = '#16151F',
45
+ naturalColor_600 = '#111017',
46
+ naturalColor_700 = '#0B0A10',
31
47
  }
32
48
 
33
- export enum NewColors {
34
- violetLight = '#F3F2FF',
35
- violetLightHover = '#E6E6FF',
36
- violetLightActive = '#C1C0FE',
37
- violetNormal = '#8481FD',
38
- violetNormalHover = '#5250D9',
39
- violetNormalActive = '#3331B8',
40
- violetDark = '#262626',
41
- violetDarkHover = '#1A1994',
42
- violetDarkActive = '#111066',
43
- violetDarker = '#000033',
44
- blueLight = '#F6FCFF',
45
- blueLightHover = '#E9F8FF',
46
- blueLightActive = '#C1E5FF',
47
- blueNormal = '#52BDFF',
48
- blueNormalHover = '#3399D9',
49
- blueNormalActive = '#1A7DB3',
50
- blueDarker = '#262626',
51
- greyLight = '#F9FCFF',
52
- greyLightHover = '#E0E0E0',
53
- greyLightActive = '#BDBDBD',
54
- greyNormal = '#929292',
55
- greyNormalHover = '#666666',
56
- greyNormalActive = '#4D4D4D',
57
- greyDarker = '#262626',
58
- orandeLight = '#FFFAF8',
59
- orandeLightHover = '#FDECE1',
60
- orandeLightActive = '#FBCEB4',
61
- orandeNormal = '#F2565E',
62
- orandeNormalHover = '#CE3C3E',
63
- orandeNormalActive = '#AD3335',
64
- orandeDarker = '#262626',
65
- lightBlueLight = '#FEF7F7',
66
- lightBlueLightHover = '#FCDDDF',
67
- lightBlueLightActive = '#F9AAAF',
68
- lightBlueNormal = '#CE3C3E',
69
- lightBlueNormalHover = '#AD3335',
70
- lightBlueNormalActive = '#8C292B',
71
- lightBlueDarker = '#262626',
72
- red = '#FFFCF1',
73
- green = '#F4FDFB',
74
- background = '#FAFAFA',
49
+ export enum AlertColors {
50
+ links_0 = '#E8F2FF',
51
+ links_25 = '#D2E4FE',
52
+ links_50 = '#BBD7FE',
53
+ links_100 = '#A5CAFE',
54
+ links_200 = '#77AFFD',
55
+ links_300 = '#4A95FD',
56
+ links_400 = '#1D7AFC',
57
+ links_500 = '#1762CA',
58
+ links_600 = '#114997',
59
+ links_700 = '#0C3165',
60
+ success_0 = '#C6FFE5',
61
+ success_25 = '#8FE6BE',
62
+ success_50 = '#7DDAB0',
63
+ success_100 = '#6CCEA1',
64
+ success_200 = '#48B684',
65
+ success_300 = '#259E67',
66
+ success_400 = '#02864A',
67
+ success_500 = '#026B3B',
68
+ success_600 = '#01502C',
69
+ success_700 = '#01361E',
70
+ warning_0 = '#FFF4E8',
71
+ warning_25 = '#FEE8D1',
72
+ warning_50 = '#FEDDBA',
73
+ warning_100 = '#FDD1A3',
74
+ warning_200 = '#FDBB76',
75
+ warning_300 = '#FCA448',
76
+ warning_400 = '#FB8D1A',
77
+ warning_500 = '#C97115',
78
+ warning_600 = '#975510',
79
+ warning_700 = '#64380A',
80
+ error_0 = '#FDE6EC',
81
+ error_25 = '#FACED8',
82
+ error_50 = '#F8B5C5',
83
+ error_100 = '#F69CB2',
84
+ error_200 = '#F16B8B',
85
+ error_300 = '#ED3965',
86
+ error_400 = '#E8083E',
87
+ error_500 = '#BA0632',
88
+ error_600 = '#8B0525',
89
+ error_700 = '#5D0319',
90
+ discover_0 = '#F1ECF6',
91
+ discover_25 = '#E4D9EC',
92
+ discover_50 = '#D6C5E3',
93
+ discover_100 = '#C8B2D9',
94
+ discover_200 = '#AD8CC7',
95
+ discover_300 = '#9165B4',
96
+ discover_400 = '#763FA1',
97
+ discover_500 = '#5E3281',
98
+ discover_600 = '#472661',
99
+ discover_700 = '#2F1940',
100
+ }
101
+
102
+ export enum BaseColors {
103
+ white = '#FFFFFF',
104
+ black = '#000000',
105
+ gray = '#808080',
106
+ red = '#FF0000',
107
+ green = '#00FF00',
108
+ blue = '#0000FF',
109
+ yellow = '#FFFF00',
110
+ purple = '#800080',
75
111
  }
@@ -9,7 +9,7 @@ import {
9
9
  StyleSheet,
10
10
  } from 'react-native';
11
11
  import DeviceInfo from 'react-native-device-info';
12
- import {createPerfectSize} from '../../common/utils';
12
+ import {createPerfectSize} from '../../common/utils/createPerfectSize';
13
13
 
14
14
  const windowDimensions = Dimensions.get('window');
15
15
  export const isIos = Platform.OS == 'ios';