From f915096c3a8ba1f31082b2a74833472fb722cf79 Mon Sep 17 00:00:00 2001 From: Wouter De Schuyter Date: Wed, 5 Jul 2023 14:47:51 +0200 Subject: [PATCH] refactor: changed to react native bg colors --- android/app/src/main/res/values/colors.xml | 2 +- ios/Example/AppDelegate.mm | 4 ++-- src/components/App/styles.ts | 2 +- src/navigation/Navigation.tsx | 2 +- src/screens/Splash/styles.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml index 12c4913..d308154 100644 --- a/android/app/src/main/res/values/colors.xml +++ b/android/app/src/main/res/values/colors.xml @@ -1,4 +1,4 @@ - #15181f + #20232a diff --git a/ios/Example/AppDelegate.mm b/ios/Example/AppDelegate.mm index 5817501..c48d472 100644 --- a/ios/Example/AppDelegate.mm +++ b/ios/Example/AppDelegate.mm @@ -75,11 +75,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( #if !TARGET_OS_TV if (@available(iOS 13.0, *)) { - rootView.backgroundColor = [UIColor colorWithRed: 0.08 green: 0.09 blue: 0.12 alpha: 1.00]; + rootView.backgroundColor = [UIColor colorWithRed: 0.13 green: 0.14 blue: 0.16 alpha: 1.00]; } else #endif { - rootView.backgroundColor = [UIColor colorWithRed: 0.08 green: 0.09 blue: 0.12 alpha: 1.00]; + rootView.backgroundColor = [UIColor colorWithRed: 0.13 green: 0.14 blue: 0.16 alpha: 1.00]; } self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; diff --git a/src/components/App/styles.ts b/src/components/App/styles.ts index 469bf10..138ae25 100644 --- a/src/components/App/styles.ts +++ b/src/components/App/styles.ts @@ -5,7 +5,7 @@ const styles = StyleSheet.create({ flex: 1, width: '100%', height: '100%', - backgroundColor: '#15181f', + backgroundColor: '#20232a', }, }); diff --git a/src/navigation/Navigation.tsx b/src/navigation/Navigation.tsx index b8e282c..82d70da 100644 --- a/src/navigation/Navigation.tsx +++ b/src/navigation/Navigation.tsx @@ -16,7 +16,7 @@ const Navigation = () => { color: '#FFF', }, headerStyle: { - backgroundColor: '#1c2029', + backgroundColor: '#282c34', }, headerShadowVisible: false, }}> diff --git a/src/screens/Splash/styles.ts b/src/screens/Splash/styles.ts index a9bd1b6..5e10d1f 100644 --- a/src/screens/Splash/styles.ts +++ b/src/screens/Splash/styles.ts @@ -6,7 +6,7 @@ export default StyleSheet.create({ flex: 1, height: '100%', width: '100%', - backgroundColor: '#13151A', + backgroundColor: '#20232a', alignItems: 'center', justifyContent: 'center', },