Move Colors to separate File

This commit is contained in:
Samuel Oberhofer
2022-12-10 12:01:51 +01:00
parent abffee27c7
commit 57f103c6f9
3 changed files with 11 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { StatusBar } from "expo-status-bar";
import { Text, View, StyleSheet } from "react-native";
import Colors from "../constants/colors";
import FloatingButton from "../components/FloatingButton";
@@ -18,7 +19,7 @@ export default MainScreen;
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#282A35",
backgroundColor: Colors.primary500,
alignItems: "center",
justifyContent: "center",
},