@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.
- package/package.json +1 -1
- package/template/App.tsx +28 -19
- package/template/ios/reactnativemagic/AppDelegate.mm +5 -0
- package/template/src/common/ImageResources.g.ts +1 -33
- package/template/src/common/components/Background.tsx +7 -7
- package/template/src/common/components/Container.tsx +7 -10
- package/template/src/common/localization/LocalizationProvider.tsx +14 -17
- package/template/src/common/localization/RTLInitializer.tsx +90 -0
- package/template/src/common/localization/intlFormatter.ts +37 -0
- package/template/src/common/localization/localization.ts +1 -3
- package/template/src/common/localization/translations/commonLocalization.ts +11 -81
- package/template/src/common/localization/translations/emptyLocalization.ts +6 -2
- package/template/src/common/localization/translations/errorsLocalization.ts +33 -13
- package/template/src/common/localization/translations/homeLocalization.ts +4 -24
- package/template/src/common/localization/translations/loginLocalization.ts +26 -29
- package/template/src/common/localization/translations/mainNavigationLocalization.ts +2 -2
- package/template/src/common/localization/translations/onboardingLocalization.ts +40 -9
- package/template/src/common/localization/translations/otpLocalization.ts +8 -8
- package/template/src/common/localization/translations/pagesLocalization.ts +13 -1
- package/template/src/common/localization/translations/passwordLocalization.ts +3 -3
- package/template/src/common/localization/translations/profileLocalization.ts +4 -4
- package/template/src/core/store/app/appState.ts +2 -2
- package/template/src/core/theme/colors.ts +106 -70
- package/template/src/core/theme/commonConsts.ts +1 -1
- package/template/src/core/theme/commonSizes.ts +119 -94
- package/template/src/core/theme/commonStyles.ts +22 -22
- package/template/src/core/theme/fonts.ts +13 -14
- package/template/src/core/theme/shadows.ts +135 -0
- package/template/src/core/theme/themes.ts +386 -75
- package/template/src/core/theme/types.ts +201 -15
- package/template/src/navigation/HeaderComponents.tsx +6 -30
- package/template/src/navigation/MainStack.tsx +6 -97
- package/template/src/screens/Login/Login.tsx +5 -7
- package/template/src/screens/OTP/OTPScreen.tsx +12 -13
- package/template/src/screens/home/HomeScreen.tsx +2 -295
- package/template/src/screens/profile/Profile.tsx +2 -290
- package/template/src/common/localization/translations/posLocalization.ts +0 -196
- package/template/src/components/PrinterExample.js +0 -226
- package/template/src/modules/SunmiCard.js +0 -212
- package/template/src/modules/SunmiPrepaid.ts +0 -122
- package/template/src/screens/Categories/Categories.tsx +0 -141
- package/template/src/screens/Categories/hooks/useCategoriesData.ts +0 -33
- package/template/src/screens/Categories/types.ts +0 -7
- package/template/src/screens/Favorites/Favorites.tsx +0 -130
- package/template/src/screens/ForceChangePassword/ForceChangePasswordScreen.tsx +0 -155
- package/template/src/screens/History/History.tsx +0 -430
- package/template/src/screens/History/hooks/useHistoryData.ts +0 -49
- package/template/src/screens/History/types.ts +0 -7
- package/template/src/screens/InquiredBill/InquiredBill.tsx +0 -443
- package/template/src/screens/InquiredBill/hooks/useInquiredData.ts +0 -91
- package/template/src/screens/PaymentConfirmation/PaymentConfirmation.tsx +0 -326
- package/template/src/screens/Providers/Providers.tsx +0 -166
- package/template/src/screens/Providers/hooks/useProvidersData.ts +0 -33
- package/template/src/screens/Providers/types.ts +0 -7
- package/template/src/screens/ReceiptScreen/ReceiptScreen.tsx +0 -181
- package/template/src/screens/ReceiptScreen/hooks/useReceiptData.ts +0 -46
- package/template/src/screens/ReceiptScreen/utils/utils.tsx +0 -156
- package/template/src/screens/Services/Services.tsx +0 -144
- package/template/src/screens/Services/hooks/useServicesData.ts +0 -41
- package/template/src/screens/SingleService/Components/FawryInputs.tsx +0 -446
- package/template/src/screens/SingleService/SingleService.tsx +0 -229
- package/template/src/screens/SingleService/hooks/useServiceData.ts +0 -164
- package/template/src/services/SunmiPrinterInternal.js +0 -268
- package/template/src/types/sunmiPrepaid.d.ts +0 -20
- package/template/src/utils/SunmiPrinter.ts +0 -442
- package/template/src/utils/feesCalculator.ts +0 -92
|
@@ -1,30 +1,10 @@
|
|
|
1
1
|
export const homeLocalization = {
|
|
2
2
|
en: {
|
|
3
|
-
welcome: '
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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: '
|
|
11
|
-
notMember: 'Not a member?
|
|
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?
|
|
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
|
-
|
|
39
|
+
EnterEmail: 'أدخل بريدك الإلكتروني',
|
|
34
40
|
Password: 'كلمة المرور',
|
|
35
41
|
EnterPassword: 'أدخل كلمة المرور',
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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: '
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
6
|
+
resendIn: 'Resend in {0}s',
|
|
7
7
|
resend: 'Resend',
|
|
8
8
|
verify: 'Verify',
|
|
9
|
-
invalidCode: 'Invalid
|
|
9
|
+
invalidCode: 'Invalid code',
|
|
10
10
|
verificationFailed: 'Verification failed',
|
|
11
11
|
verificationSuccess: 'Verification successful',
|
|
12
|
-
resendSuccess: 'Code
|
|
13
|
-
resendFailed: 'Failed to
|
|
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: 'إعادة إرسال
|
|
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
|
|
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: '
|
|
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: '
|
|
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
|
|
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
|
};
|
|
@@ -1,75 +1,111 @@
|
|
|
1
|
-
export enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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';
|