Styling in style.ts, minor refactor
This commit is contained in:
parent
f97c22f6e0
commit
ce7888667d
4 changed files with 37 additions and 41 deletions
26
src/util/style.ts
Normal file
26
src/util/style.ts
Normal 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",
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue