ef171e2892
* set size=small buttons to `text_sm` * change to `leading_snug` * add gap to repost buttons * Add medium-weight font, use for buttons (#8819) * add medium weight inter * add medium font to buttons * Adjust bold weights * Fix ref --------- Co-authored-by: Eric Bailey <git@esb.lol> * Align with designs --------- Co-authored-by: Eric Bailey <git@esb.lol>
22 lines
960 B
TypeScript
22 lines
960 B
TypeScript
import {useFonts} from 'expo-font'
|
|
|
|
/*
|
|
* IMPORTANT: This is unused. Expo statically extracts these fonts.
|
|
*
|
|
* All used fonts MUST be configured here. Unused fonts can be commented out.
|
|
*
|
|
* This is used for both web fonts and native fonts.
|
|
*/
|
|
export function DO_NOT_USE() {
|
|
return useFonts({
|
|
'Inter-Regular': require('../../../assets/fonts/inter/Inter-Regular.otf'),
|
|
'Inter-Italic': require('../../../assets/fonts/inter/Inter-Italic.otf'),
|
|
'Inter-Medium': require('../../../assets/fonts/inter/Inter-Medium.otf'),
|
|
'Inter-MediumItalic': require('../../../assets/fonts/inter/Inter-MediumItalic.otf'),
|
|
'Inter-SemiBold': require('../../../assets/fonts/inter/Inter-SemiBold.otf'),
|
|
'Inter-SemiBoldItalic': require('../../../assets/fonts/inter/Inter-SemiBoldItalic.otf'),
|
|
'Inter-Bold': require('../../../assets/fonts/inter/Inter-Bold.otf'),
|
|
'Inter-BoldItalic': require('../../../assets/fonts/inter/Inter-BoldItalic.otf'),
|
|
})
|
|
}
|