frostbyte-native/src/util/style.ts

34 lines
779 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',
},
postsContainer: {
height: '100%',
padding: 5,
flex: 1,
alignItems: 'center',
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: {
flexDirection: "row",
2023-12-14 21:28:12 +01:00
backgroundColor: colorScheme.postBox,
2023-12-14 20:21:57 +01:00
paddingVertical: 5,
},
postFont: {
2023-12-14 21:28:12 +01:00
color: colorScheme.postFont,
2023-12-14 20:21:57 +01:00
},
});