Use Colors from colors.js

This commit is contained in:
Samuel Oberhofer 2022-12-10 12:02:56 +01:00
parent 57f103c6f9
commit 9165c52a5b
1 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,13 @@
import { Text, TouchableOpacity } from "react-native";
import { TouchableOpacity } from "react-native";
import Icon from "react-native-vector-icons/Ionicons";
import Colors from "../constants/colors";
function FloatingButton() {
return (
<TouchableOpacity
style={{
borderWidth: 1,
borderColor: "#B695F3",
borderColor: Colors.accent500,
alignItems: "center",
justifyContent: "center",
width: 70,
@ -14,7 +15,7 @@ function FloatingButton() {
top: 560,
right: 20,
height: 70,
backgroundColor: "#B695F3",
backgroundColor: Colors.accent500,
borderRadius: 100,
}}
onPress={() => {