Skip to content

Commit

Permalink
fix: Removed all custom fonts from stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
pwysowski committed Apr 9, 2020
1 parent 9f0cae6 commit b3e53fc
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 36 deletions.
6 changes: 2 additions & 4 deletions src/constants/screenStyles.js
Expand Up @@ -23,8 +23,7 @@ const screenStyles = StyleSheet.create({
alignSelf: 'flex-start',
letterSpacing: -0.2,
paddingTop: 40,
paddingBottom: 20,
fontFamily: 'AvertaStd-Semibold'
paddingBottom: 20
},
foreground: {
flex: 1,
Expand Down Expand Up @@ -53,8 +52,7 @@ const screenStyles = StyleSheet.create({
color: colors.white,
fontSize: constants.responsiveWidth(11),
lineHeight: 48,
letterSpacing: -1,
fontFamily: 'AvertaStd-Semibold'
letterSpacing: -1
},
messageContainer: {
paddingTop: 24,
Expand Down
6 changes: 2 additions & 4 deletions src/predefinedComponents/AvatarHeader/AvatarHeader.styles.js
Expand Up @@ -25,8 +25,7 @@ export default StyleSheet.create({
fontSize: 16,
lineHeight: 20,
color: colors.white,
marginLeft: 12,
fontFamily: 'AvertaStd-Semibold'
marginLeft: 12
},
infoContainer: {
flexDirection: 'row',
Expand All @@ -42,8 +41,7 @@ export default StyleSheet.create({
infoText: {
color: colors.white,
fontSize: constants.normalizedFontSize(16),
lineHeight: 24,
fontFamily: 'AvertaStd-Regular'
lineHeight: 24
},
icon: {
width: 16,
Expand Down
13 changes: 4 additions & 9 deletions src/predefinedComponents/DetailsHeader/DetailsHeader.styles.js
Expand Up @@ -5,16 +5,14 @@ export default StyleSheet.create({
...screenStyles,
foregroundText: {
color: colors.white,
fontFamily: 'AvertaStd-Semibold',
paddingHorizontal: 12
},
foregroundTitle: {
height: 36,
alignSelf: 'flex-start',
borderRadius: 18,
alignItems: 'center',
justifyContent: 'center',
fontFamily: 'AvertaStd-Semibold'
justifyContent: 'center'
},
infoContainer: {
flexDirection: 'row',
Expand All @@ -36,8 +34,7 @@ export default StyleSheet.create({
color: colors.black,
paddingLeft: 4,
fontSize: 16,
lineHeight: 20,
fontFamily: 'AvertaStd-Semibold'
lineHeight: 20
},
footerContainer: {
flexDirection: 'row',
Expand All @@ -54,8 +51,7 @@ export default StyleSheet.create({
fontSize: 16,
lineHeight: 20,
color: colors.white,
paddingLeft: 12,
fontFamily: 'AvertaStd-Semibold'
paddingLeft: 12
},
headerMenu: {
flexDirection: 'row',
Expand All @@ -67,7 +63,6 @@ export default StyleSheet.create({
headerTitle: {
fontSize: 16,
lineHeight: 20,
color: colors.white,
fontFamily: 'AvertaStd-Semibold'
color: colors.white
}
})
3 changes: 1 addition & 2 deletions src/predefinedComponents/TabbedHeader/TabbedHeader.styles.js
Expand Up @@ -22,8 +22,7 @@ export default StyleSheet.create({
lineHeight: 20,
paddingHorizontal: 12,
paddingVertical: 8,
color: colors.white,
fontFamily: 'AvertaStd-Semibold'
color: colors.white
},
modalStyle: {
margin: 0
Expand Down
Expand Up @@ -35,15 +35,13 @@ export default StyleSheet.create({
color: colors.greyishBrown,
paddingHorizontal: 8,
paddingVertical: 4,
fontFamily: 'AvertaStd-Semibold',
letterSpacing: 0.8
},
mainText: {
fontSize: 20,
lineHeight: 24,
color: colors.black,
paddingTop: 8,
paddingBottom: 20,
fontFamily: 'AvertaStd-Semibold'
paddingBottom: 20
}
})
Expand Up @@ -33,8 +33,7 @@ export default StyleSheet.create({
lineHeight: 16,
color: colors.greyishBrown,
paddingHorizontal: 8,
paddingVertical: 4,
fontFamily: 'AvertaStd-Semibold'
paddingVertical: 4
},
iconContainer: {
flexDirection: 'row',
Expand All @@ -59,16 +58,14 @@ export default StyleSheet.create({
color: colors.white,
paddingLeft: 5,
fontSize: 16,
lineHeight: 20,
fontFamily: 'AvertaStd-Semibold'
lineHeight: 20
},
mainText: {
fontSize: 24,
lineHeight: 28,
color: colors.black,
letterSpacing: -0.2,
paddingTop: 8,
fontFamily: 'AvertaStd-Semibold'
paddingTop: 8
},
mainTextContainer: {},
footerContainer: {
Expand All @@ -86,8 +83,7 @@ export default StyleSheet.create({
fontSize: 12,
lineHeight: 16,
color: colors.black,
paddingLeft: 8,
fontFamily: 'AvertaStd-Semibold'
paddingLeft: 8
},
authorWrapper: {
flexDirection: 'row'
Expand Down
Expand Up @@ -34,7 +34,6 @@ export default StyleSheet.create({
text: {
fontSize: 16,
lineHeight: 24,
color: colors.black,
fontFamily: 'AvertaStd-Regular'
color: colors.black
}
})
Expand Up @@ -25,8 +25,7 @@ export default StyleSheet.create({
fontSize: 16,
lineHeight: 20,
color: colors.white,
marginLeft: 12,
fontFamily: 'AvertaStd-Semibold'
marginLeft: 12
},
infoContainer: {
flexDirection: 'row',
Expand All @@ -42,8 +41,7 @@ export default StyleSheet.create({
infoText: {
color: colors.white,
fontSize: constants.normalizedFontSize(16),
lineHeight: 24,
fontFamily: 'AvertaStd-Regular'
lineHeight: 24
},
icon: {
width: 16,
Expand Down

0 comments on commit b3e53fc

Please sign in to comment.