Styling in style.ts, minor refactor

This commit is contained in:
Imbus 2023-12-14 20:21:57 +01:00
parent f97c22f6e0
commit ce7888667d
4 changed files with 37 additions and 41 deletions

26
src/util/style.ts Normal file
View file

@ -0,0 +1,26 @@
import { StyleSheet } from 'react-native';
export const style = StyleSheet.create({
app: { // Outermost container
flex: 1,
backgroundColor: '#fff', // For the "entire" app
alignItems: 'center',
justifyContent: 'center',
},
postsContainer: {
height: '100%',
padding: 5,
flex: 1,
alignItems: 'center',
justifyContent: 'flex-start',
backgroundColor: '#fff', // For the container holding the posts
},
postView: {
flexDirection: "row",
backgroundColor: '#fff',
paddingVertical: 5,
},
postFont: {
color: "#000",
},
});