mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update wip website
This commit is contained in:
@ -1,6 +1,20 @@
|
||||
import Typography from 'typography';
|
||||
import githubTheme from 'typography-theme-github';
|
||||
|
||||
const typography = new Typography(githubTheme);
|
||||
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;
|
||||
|
Reference in New Issue
Block a user