Add inter font

This commit is contained in:
Steven 2019-01-09 08:50:11 -05:00 committed by GitHub
parent e19c49d945
commit 5935556794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
const logo = 'https://assets.zeit.co/image/upload/front/assets/design/now-black.svg';
const css = `
@import url('https://rsms.me/inter/inter-ui.css');
html { font-family: 'Inter UI', sans-serif; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter UI var alt', sans-serif; }
}
body {
background: white;
background-image: radial-gradient(lightgray 5%, transparent 0);
@ -44,4 +50,4 @@ function getHtml(text) {
</html>`;
}
module.exports = { getHtml }
module.exports = { getHtml }