mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
34 lines
698 B
TypeScript
34 lines
698 B
TypeScript
import { theme } from '@chakra-ui/react';
|
|
|
|
export const BODY_TYPEFACE = 'Inter';
|
|
export const HEADING_TYPEFACE = 'Poppins';
|
|
|
|
const typography = {
|
|
fonts: {
|
|
heading: `${ HEADING_TYPEFACE }, ${ theme.fonts.heading }`,
|
|
body: `${ BODY_TYPEFACE }, ${ theme.fonts.body }`,
|
|
},
|
|
textStyles: {
|
|
h2: {
|
|
fontSize: [ '32px' ],
|
|
fontWeight: '500',
|
|
lineHeight: '40px',
|
|
fontFamily: 'heading',
|
|
},
|
|
h3: {
|
|
fontSize: '24px',
|
|
fontWeight: '500',
|
|
lineHeight: '32px',
|
|
fontFamily: 'heading',
|
|
},
|
|
h4: {
|
|
fontSize: 'md',
|
|
fontWeight: '500',
|
|
lineHeight: '24px',
|
|
fontFamily: 'heading',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default typography;
|