Changed colors and added color sheme

This commit is contained in:
dDogge 2023-12-14 21:28:12 +01:00
parent a1c8cd95d3
commit 755aed62c6

View file

@ -1,9 +1,17 @@
import { StyleSheet } from 'react-native';
const colorScheme = {
background: "#273043",
postBox: "#9197AE",
postFont: "#EFF6EE",
accept: "#4D8B31",
error: "#F02D3A"
}
export const style = StyleSheet.create({
app: { // Outermost container
flex: 1,
backgroundColor: '#fff', // For the "entire" app
backgroundColor: colorScheme.background, // For the "entire" app
alignItems: 'center',
justifyContent: 'center',
},
@ -13,14 +21,14 @@ export const style = StyleSheet.create({
flex: 1,
alignItems: 'center',
justifyContent: 'flex-start',
backgroundColor: '#fff', // For the container holding the posts
backgroundColor: colorScheme.background, // For the container holding the posts
},
postView: {
flexDirection: "row",
backgroundColor: '#fff',
backgroundColor: colorScheme.postBox,
paddingVertical: 5,
},
postFont: {
color: "#000",
color: colorScheme.postFont,
},
});