fix(theme): use faux italics only with web fonts (#1581)

pull/1585/head
Divyansh Singh 2 years ago committed by GitHub
parent 26c186ab37
commit 124158e3a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,7 +26,7 @@ body {
color: var(--vp-c-text-1);
background-color: var(--vp-c-bg);
direction: ltr;
font-synthesis: style;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

@ -1,5 +1,9 @@
/* webfont-marker-begin */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
html body {
font-synthesis: style;
}
/* webfont-marker-end */
@font-face {

Loading…
Cancel
Save