Fix more styles

This commit is contained in:
Julia Friesel
2018-09-27 18:19:52 +02:00
parent 08603e4837
commit 04512e5bae
2 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export default class Header extends Component {
: :
<View style={styles.header}> <View style={styles.header}>
<View style={styles.accentCircle} /> <View style={styles.accentCircle} />
<Text style={styles.dateHeader}> <Text style={styles.headerText}>
{this.props.title} {this.props.title}
</Text> </Text>
</View > </View >
+12 -7
View File
@@ -49,6 +49,12 @@ export default StyleSheet.create({
textAlignVertical: 'center' textAlignVertical: 'center'
}, },
dateHeader: { dateHeader: {
fontSize: 20,
fontFamily: fontLight,
color: fontOnPrimaryColor,
textAlign: 'center',
},
headerText: {
fontSize: 30, fontSize: 30,
fontFamily: fontLight, fontFamily: fontLight,
color: fontOnPrimaryColor, color: fontOnPrimaryColor,
@@ -56,9 +62,9 @@ export default StyleSheet.create({
}, },
accentCircle: { accentCircle: {
borderColor: secondaryColor, borderColor: secondaryColor,
borderWidth: 2, borderWidth: 0.5,
width: 50, width: 40,
height: 50, height: 40,
borderRadius: 100, borderRadius: 100,
position: 'absolute' position: 'absolute'
}, },
@@ -66,7 +72,7 @@ export default StyleSheet.create({
fontSize: 15, fontSize: 15,
color: fontOnPrimaryColor, color: fontOnPrimaryColor,
textAlign: 'center', textAlign: 'center',
marginLeft: 15 fontFamily: fontLight
}, },
symptomViewHeading: { symptomViewHeading: {
fontSize: 20, fontSize: 20,
@@ -128,14 +134,14 @@ export default StyleSheet.create({
paddingHorizontal: 15, paddingHorizontal: 15,
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
height: '10%', height: 80
}, },
menu: { menu: {
backgroundColor: primaryColor, backgroundColor: primaryColor,
alignItems: 'center', alignItems: 'center',
justifyContent: 'space-between', justifyContent: 'space-between',
flexDirection: 'row', flexDirection: 'row',
height: '12%' height: 80
}, },
menuItem: { menuItem: {
alignItems: 'center', alignItems: 'center',
@@ -152,7 +158,6 @@ export default StyleSheet.create({
headerCycleDay: { headerCycleDay: {
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'space-between', justifyContent: 'space-between',
height: '15%'
}, },
navigationArrow: { navigationArrow: {
fontSize: 60, fontSize: 60,