case 'Public Sans Variable':
url = `https://cdn.jsdelivr.net/fontsource/fonts/public-sans@latest/latin-400-normal.ttf`;
break;
- case 'DejaVu Mono':
- url = `https://cdn.jsdelivr.net/fontsource/fonts/dejavu-mono@latest/latin-400-normal.ttf`;
+ case 'Source Serif 4':
+ url = `https://cdn.jsdelivr.net/fontsource/fonts/source-serif-4@latest/latin-400-normal.ttf`;
break;
default:
throw new Error('font url not defined');
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
- backgroundColor: '#555555',
- color: '#ffffff',
+ backgroundColor: '#e6e2d6',
+ color: '#000000',
width: '100%',
height: '100%',
padding: 80,
style: {
fontSize: 32,
marginBottom: 40,
- fontFamily: 'DejaVu Mono'
+ fontFamily: 'Source Serif 4'
},
children: description,
},
type: 'div',
props: {
style: {
- borderTop: '2px solid #ffffff',
+ borderTop: '2px solid #8b2942',
width: 240,
margin: '0 auto 8px',
display: 'flex',
style: 'normal'
},
{
- name: 'DejaVu Mono',
- data: await loadFont('DejaVu Mono'),
+ name: 'Source Serif 4',
+ data: await loadFont('Source Serif 4'),
style: 'normal'
}
]