Created
March 1, 2022 06:16
-
-
Save aravi365/e55465ed313fe9d617f9ef090cccfd81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| widthPercentageToDP as wp, | |
| heightPercentageToDP as hp, | |
| } from 'react-native-responsive-screen'; | |
| const size = { | |
| font1: hp('3%'), | |
| font2: hp('2.88%'), | |
| font3: hp('1.9%'), | |
| font4: hp('1.6%'), | |
| font5: hp('1.62%'), | |
| font6: hp('2%'), | |
| }; | |
| const weight = { | |
| full: '900', | |
| semi: '600', | |
| low: '400', | |
| bold: 'bold', | |
| normal: 'normal', | |
| }; | |
| const type = { | |
| TBlack: 'TitilliumWeb-Black', | |
| TBold: 'TitilliumWeb-Bold', | |
| TSemiBold: 'TitilliumWeb-SemiBold', | |
| TRegular: 'TitilliumWeb-Regular', | |
| TLight: 'TitilliumWeb-Light', | |
| }; | |
| export default { | |
| size, | |
| weight, | |
| type, | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment