frostbyte-native/src/util/style.ts

38 lines
843 B
TypeScript
Raw Normal View History

2023-12-14 20:21:57 +01:00
import { StyleSheet } from 'react-native';
2023-12-14 21:28:12 +01:00
const colorScheme = {
background: "#273043",
postBox: "#9197AE",
postFont: "#EFF6EE",
accept: "#4D8B31",
error: "#F02D3A"
}
2023-12-14 20:21:57 +01:00
export const style = StyleSheet.create({
app: { // Outermost container
flex: 1,
2023-12-14 21:28:12 +01:00
backgroundColor: colorScheme.background, // For the "entire" app
2023-12-14 20:21:57 +01:00
alignItems: 'center',
justifyContent: 'center',
margin: 0,
2023-12-14 20:21:57 +01:00
},
postsContainer: {
margin: 0,
2023-12-14 20:21:57 +01:00
height: '100%',
width: '100%',
2023-12-14 20:21:57 +01:00
padding: 5,
paddingVertical: 30,
2023-12-14 20:21:57 +01:00
justifyContent: 'flex-start',
2023-12-14 21:28:12 +01:00
backgroundColor: colorScheme.background, // For the container holding the posts
2023-12-14 20:21:57 +01:00
},
postView: {
borderRadius: 6,
2023-12-14 20:21:57 +01:00
flexDirection: "row",
2023-12-14 21:28:12 +01:00
backgroundColor: colorScheme.postBox,
margin: 5,
padding: 15,
2023-12-14 20:21:57 +01:00
},
postFont: {
2023-12-14 21:28:12 +01:00
color: colorScheme.postFont,
2023-12-14 20:21:57 +01:00
},
});