Newer
Older
export const primaryColor = '#ff7e5f'
export const secondaryColor = '#351c4d'
export const secondaryColorLight = '#91749d'
export const shadesOfRed = ['#ffcbbf', '#ffb19f', '#ff977e', '#ff7e5f'] // light to dark
const defaultBottomMargin = 5
const defaultIndentation = 10
const defaultTopMargin = 10
appText: {
color: 'black'
},
paragraph: {
marginBottom: defaultBottomMargin
},
emphasis: {
textWrappingView: {
marginHorizontal: defaultIndentation,
marginTop: defaultTopMargin
textAlign: 'center',
textAlignVertical: 'center'
},
dateHeader: {
textAlign: 'center',
},
cycleDayNumber: {
symptomViewHeading: {
color: 'black',
marginBottom: 5
symptomBoxImage: {
width: 50,
height: 50
},
symptomBoxesView: {
flexDirection: 'row',
flexWrap: 'wrap',
justifyContent: 'space-evenly'
},
symptomBox: {
borderColor: secondaryColor,
borderStyle: 'solid',
borderWidth: 1,
borderTopLeftRadius: 10,
borderTopRightRadius: 10,
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',
height: '10%'
flexDirection: 'row',
height: '12%'
menuItem: {
alignItems: 'center',
flex: 1,
menuText: {
color: fontOnPrimaryColor
},
menuTextInActive: {
color: 'lightgrey'
},
justifyContent: 'space-between',
height: '15%'
flexDirection: 'row',
justifyContent: 'space-between',
height: '12%'
navigationArrow: {
fontSize: 60,
color: fontOnPrimaryColor
},
homeButtons: {
marginHorizontal: 15
homeButton: {
marginBottom: 15
temperatureTextInput: {
},
temperatureTextInputSuggestion: {
color: '#939393'
},
actionButtonRow: {
flexDirection: 'row',
justifyContent: 'space-evenly',
marginTop: 50
symptomEditButton: {
width: 130
settingsSegment: {
backgroundColor: 'lightgrey',
padding: 10,
},
settingsSegmentTitle: {
fontWeight: 'bold'
},
settingsButton: {
statsRow: {
flexDirection: 'row',
width: '100%'
},
statsLabelLeft: {
width: '60%',
textAlign: 'left',
textAlignVertical: 'center',
marginLeft: 10
},
statsLabelRight: {
textAlign: 'left',
textAlignVertical: 'center'
selectBox: {
backgroundColor: 'lightgrey',
paddingHorizontal: 15,
paddingVertical: 10,
borderRadius: 10
},
selectBoxActive: {
backgroundColor: secondaryColor,
color: fontOnPrimaryColor
},
selectBoxTextActive: {
color: fontOnPrimaryColor
},
selectBoxSection: {
flexDirection: 'row',
flexWrap: 'wrap',
marginVertical: 10,
},
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,
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
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'
}
})
export const iconStyles = {
navigationArrow: {
size: 45,
color: fontOnPrimaryColor
symptomHeaderIcons: {
size: 30,
color: fontOnPrimaryColor
},
symptomBox: {
size: 40
},
symptomBoxActive: {
color: fontOnPrimaryColor
},
menuIcon: {
size: 20,
color: fontOnPrimaryColor