html2canvas/www/src/utils/typography.js
2019-04-05 21:28:45 -07:00

20 lines
420 B
JavaScript

import Typography from 'typography';
const theme = {
googleFonts: [
{
name: 'Roboto',
styles: ['100', '300', '400', '500', '700']
}
],
scale: 4.2,
baseFontSize: '14.5px',
baseLineHeight: 1.5,
headerFontFamily: ['Roboto', 'sans-serif'],
bodyFontFamily: ['Roboto', 'sans-serif']
};
const typography = new Typography(theme);
export default typography;