Add inter font
This commit is contained in:
parent
e19c49d945
commit
5935556794
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue