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