Add accent circle

This commit is contained in:
Julia Friesel
2018-09-27 18:12:15 +02:00
parent e2f34a5eea
commit 08603e4837
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ export default class Header extends Component {
</View >
:
<View style={styles.header}>
<View style={styles.accentCircle} />
<Text style={styles.dateHeader}>
{this.props.title}
</Text>
+8
View File
@@ -54,6 +54,14 @@ export default StyleSheet.create({
color: fontOnPrimaryColor,
textAlign: 'center',
},
accentCircle: {
borderColor: secondaryColor,
borderWidth: 2,
width: 50,
height: 50,
borderRadius: 100,
position: 'absolute'
},
cycleDayNumber: {
fontSize: 15,
color: fontOnPrimaryColor,