Skip to content

Commit

Permalink
refactor: changed to react native bg colors
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterds committed Jul 5, 2023
1 parent e09f2ae commit f915096
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="bg">#15181f</color>
<color name="bg">#20232a</color>
</resources>
4 changes: 2 additions & 2 deletions ios/Example/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/components/App/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const styles = StyleSheet.create({
flex: 1,
width: '100%',
height: '100%',
backgroundColor: '#15181f',
backgroundColor: '#20232a',
},
});

Expand Down
2 changes: 1 addition & 1 deletion src/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Navigation = () => {
color: '#FFF',
},
headerStyle: {
backgroundColor: '#1c2029',
backgroundColor: '#282c34',
},
headerShadowVisible: false,
}}>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Splash/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default StyleSheet.create({
flex: 1,
height: '100%',
width: '100%',
backgroundColor: '#13151A',
backgroundColor: '#20232a',
alignItems: 'center',
justifyContent: 'center',
},
Expand Down

0 comments on commit f915096

Please sign in to comment.