Introduces AppLoading, AppTextInput, Button components redesign

This commit is contained in:
mashazyu
2020-03-23 10:01:40 +01:00
committed by Sofiya Tepikin
parent 8c1c72ccc9
commit 3f8f6dbbe6
6 changed files with 90 additions and 35 deletions
+10
View File
@@ -13,6 +13,16 @@ export default {
flex: 1,
justifyContent: 'center'
},
greyBorder: {
borderColor: Colors.greyLight,
borderRadius: 5,
borderStyle: 'solid',
borderWidth: 1,
},
marginBottom: { marginBottom: Spacing.base },
orangeButton: {
backgroundColor: Colors.orange,
borderRadius: 25
},
segmentContainer: { marginHorizontal: Spacing.base }
}
+2 -1
View File
@@ -1,3 +1,4 @@
export default {
base: 16
base: 16,
large: 20
}
+16 -2
View File
@@ -14,15 +14,29 @@ const sizes = {
titleLarge: 28
}
const button = {
paddingHorizontal: Spacing.large,
paddingVertical: Spacing.base,
textTransform: 'uppercase'
}
export default {
buttonTextBold: {
fontFamily: fonts.bold,
...button
},
buttonTextRegular: {
fontFamily: fonts.main,
...button
},
mainText: {
fontFamily: fonts.main,
fontSize: sizes.mainMedium
},
underline: { textDecorationLine: 'underline' },
titleSmall: {
color: Colors.purple,
fontSize: sizes.titleSmall,
marginVertical: Spacing.base
}
},
underline: { textDecorationLine: 'underline' }
}