Add new home screen

This commit is contained in:
Julia Friesel
2018-09-30 15:02:11 +02:00
parent bd37c118f1
commit 7b8b905550
40 changed files with 367 additions and 356 deletions
+59 -6
View File
@@ -10,6 +10,8 @@ export const shadesOfRed = [
'#cf323d',
'#c3000d'
] // light to dark
export const cycleDayColor = '#29287f'
export const periodColor = '#802249'
const fontRegular = 'Prompt-Light'
const fontLight = 'Prompt-Thin'
@@ -27,6 +29,11 @@ export default StyleSheet.create({
fontFamily: fontRegular,
fontSize: regularSize
},
appTextLight: {
color: 'black',
fontFamily: fontLight,
fontSize: regularSize
},
paragraph: {
marginBottom: defaultBottomMargin
},
@@ -69,6 +76,58 @@ export default StyleSheet.create({
borderRadius: 100,
position: 'absolute'
},
homeView: {
marginHorizontal: 50,
marginTop: 20,
},
homeButton: {
paddingVertical: 10,
paddingHorizontal: 20,
borderRadius: 5,
alignItems: 'center',
width: 200,
},
homeButtonText: {
color: fontOnPrimaryColor
},
homeIconElement: {
alignItems: 'center',
marginBottom: 10
},
homeIconTextWrapper: {
alignItems: 'center',
justifyContent: 'center',
marginBottom: 10,
},
wrapperCycle: {
width: 70,
height: 75
},
wrapperDrop: {
width: 80,
height: 80,
marginTop: 20
},
homeCircle: {
borderRadius: 100,
borderWidth: 0.5,
width: 80,
height: 80,
alignItems: 'center',
justifyContent: 'center',
borderColor: secondaryColor,
},
iconText: {
fontSize: 25
},
showMore: {
transform: [{rotate: '90deg'}],
position: 'absolute',
},
showLess: {
transform: [{rotate: '270deg'}],
position: 'absolute'
},
cycleDayNumber: {
fontSize: 15,
color: fontOnPrimaryColor,
@@ -168,12 +227,6 @@ export default StyleSheet.create({
fontSize: 60,
color: fontOnPrimaryColor
},
homeButtons: {
marginHorizontal: 15
},
homeButton: {
marginBottom: 15
},
temperatureTextInput: {
fontSize: 20,
color: 'black',