feat: reimplement font smoothing

This commit is contained in:
Jean-Philippe Sirois
2019-07-31 09:02:39 -04:00
parent 3272ec48de
commit e3090fd4f1
+4
View File
@@ -8,12 +8,16 @@ import {
export const GlobalStyles = createGlobalStyle`
html {
font-family: ${fontFamily.body};
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
font-size: ${BASE_FONT_SIZE}px;
line-height: ${BASE_LINE_HEIGHT}px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* TODO: probably extract this */