keepyourmouthshut/RiderApp/src/utilities/textStyles.js

51 lines
771 B
JavaScript

import { scale } from './scaling'
import { fontStyles } from './fontStyles'
export const textStyles = {
H1: {
fontSize: scale(35)
},
H2: {
fontSize: scale(24)
},
H3: {
fontSize: scale(20)
},
H4: {
fontSize: scale(16)
},
H5: {
fontSize: scale(14)
},
Normal: {
fontSize: scale(12)
},
Small: {
fontSize: scale(10)
},
xSmall: {
fontSize: scale(8)
},
Regular: {
fontFamily: fontStyles.MuseoSans300
},
Bold: {
fontFamily: fontStyles.MuseoSans500
},
Bolder: {
fontFamily: fontStyles.MuseoSans700
},
Center: {
textAlign: 'center'
},
Right: {
textAlign: 'right'
},
UpperCase: {
textTransform: 'uppercase'
},
LineOver: {
textDecorationLine: 'line-through'
}
}