Move Colors to separate File
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user