Newer
Older
export const secondaryColorLight = '#91749d'
export const shadesOfRed = [
'#e7999e',
'#db666d',
'#cf323d',
'#c3000d'
] // light to dark
export const cycleDayColor = '#29287f'
export const periodColor = '#802249'
const textFont = 'OpenSans-Light'
const textFontBold = 'OpenSans-SemiBold'
const defaultBottomMargin = 5
const defaultIndentation = 10
const defaultTopMargin = 10
export const calendarTheme = {
textDayFontFamily: textFont,
textMonthFontFamily: textFontBold,
textDayHeaderFontFamily: textFont,
textDayFontSize: regularSize,
textMonthFontSize: regularSize,
textDayHeaderFontSize: hintSize,
textSectionTitleColor: 'grey'
}
actionHint: {
color: secondaryColor,
paragraph: {
marginBottom: defaultBottomMargin
},
emphasis: {
fontFamily: textFontBold,
color: secondaryColor,
link: {
color: cycleDayColor,
textDecorationLine: 'underline'
},
textWrappingView: {
marginHorizontal: defaultIndentation,
marginTop: defaultTopMargin
textAlign: 'center',
textAlignVertical: 'center'
},
dateHeader: {
color: fontOnPrimaryColor,
textAlign: 'center',
},
headerText: {
emelko
committed
borderRadius: 100,
position: 'absolute'
errorMessage: {
color: shadesOfRed[2],
marginLeft: 10,
},
paddingVertical: 10,
paddingHorizontal: 20,
borderRadius: 5,
alignItems: 'center',
},
homeButtonText: {
color: fontOnPrimaryColor
},
homeIconElement: {
alignItems: 'center',
},
homeIconTextWrapper: {
alignItems: 'center',
justifyContent: 'center',
marginBottom: 10,
},
wrapperCycle: {
height: 77,
position: 'absolute'
marginTop: 20,
position: 'absolute'
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'
},
symptomViewHeading: {
fontWeight: 'bold',
fontFamily: textFontBold,
marginTop: 10
symptomInfoIcon: {
marginRight: 20,
marginLeft: 20
},
symptomBoxImage: {
width: 50,
height: 50
},
symptomBoxesView: {
flexDirection: 'row',
flexWrap: 'wrap',
justifyContent: 'space-evenly'
},
symptomBox: {
borderColor: secondaryColor,
borderStyle: 'solid',
borderWidth: 1,
borderTopLeftRadius: 10,
borderTopRightRadius: 10,
marginTop: '10%',
paddingVertical: '6%',
symptomBoxActive: {
backgroundColor: secondaryColor,
},
symptomTextActive: {
color: fontOnPrimaryColor
},
tina
committed
symptomInFuture: {
borderColor: 'lightgrey',
color: 'lightgrey'
},
symptomDataBox: {
borderColor: secondaryColor,
borderStyle: 'solid',
borderLeftWidth: 1,
borderRightWidth: 1,
borderBottomWidth: 1,
borderBottomLeftRadius: 10,
borderBottomRightRadius: 10,
alignItems: 'center',
justifyContent: 'center',
padding: '3%',
marginHorizontal: 1,
width: 110,
height: 50,
},
symptomDataText: {
fontSize: 12
justifyContent: 'center',
headerCycleDay: {
flexDirection: 'row',
justifyContent: 'space-between',
},
navigationArrow: {
padding: 20
},
flexDirection: 'row',
menuItem: {
alignItems: 'center',
flex: 1,
temperatureTextInput: {
},
temperatureTextInputSuggestion: {
color: '#939393'
},
actionButtonRow: {
flexDirection: 'row',
justifyContent: 'space-evenly',
marginTop: 50
symptomEditButton: {
width: 130
framedSegment: {
borderColor: secondaryColor,
borderStyle: 'solid',
borderWidth: 1,
borderRadius: 10,
marginTop: defaultTopMargin,
marginHorizontal: defaultIndentation,
padding: 7,
framedSegmentLast: {
framedSegmentTitle: {
},
settingsButton: {
padding: 10,
alignItems: 'center',
margin: 10
},
settingsButtonAccent: {
backgroundColor: secondaryColor
settingsButtonDisabled: {
backgroundColor: colorInActive
},
settingsButtonSecondaryText: {
color: secondaryColor
},
selectBox: {
backgroundColor: 'lightgrey',
paddingHorizontal: 15,
paddingVertical: 10,
borderRadius: 10
},
selectBoxActive: {
backgroundColor: secondaryColor,
color: fontOnPrimaryColor
},
selectBoxTextActive: {
color: fontOnPrimaryColor
},
selectBoxSection: {
flexDirection: 'row',
flexWrap: 'wrap',
selectTab: {
backgroundColor: 'lightgrey',
borderLeftWidth: 1,
paddingVertical: 10,
paddingHorizontal: 15,
borderColor: 'white',
selectTabActive: {
backgroundColor: secondaryColor,
color: fontOnPrimaryColor
selectTabLast: {
borderTopRightRadius: 10,
borderBottomRightRadius: 10,
},
selectTabFirst: {
borderTopLeftRadius: 10,
borderBottomLeftRadius: 10,
borderLeftWidth: null
},
calendarToday: {
fontWeight: 'bold',
fontSize: 20,
color: secondaryColor,
marginTop: 1
},
passwordField: {
padding: 10,
marginTop: 10,
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
marginHorizontal: 10,
backgroundColor: 'white'
},
passwordPromptPage: {
padding: 30,
alignItems: 'center'
},
passwordPromptField: {
padding: 10,
marginTop: 10,
marginHorizontal: 10,
borderBottomWidth: 3,
borderBottomColor: primaryColor,
width: '100%',
fontSize: 20,
marginVertical: 20
},
passwordPromptButton: {
backgroundColor: secondaryColor,
padding: 10,
alignItems: 'center',
margin: 10,
width: '100%',
borderRadius: 10
},
passwordPromptButtonText: {
color: fontOnPrimaryColor,
fontSize: 20
passwordPromptForgotPasswordText: {
marginTop: 20,
color: 'grey'
infoButton: {
paddingVertical: 20
},
justifyContent: 'flex-end',
marginTop: 40
},
licenseButton: {
marginLeft: 30,
width: 100
})
export const iconStyles = {
navigationArrow: {
symptomBox: {
size: 40
},
symptomBoxActive: {
color: fontOnPrimaryColor
},
menuIcon: {
size: 20,
color: fontOnPrimaryColor
},
hiddenIcon: {
size: 20,
display: 'none'