mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 07:56:11 +02:00
feat: reimplement text smoothing (#44)
feat: reimplement text smoothing
This commit is contained in:
@@ -8,12 +8,16 @@ import {
|
|||||||
export const GlobalStyles = createGlobalStyle`
|
export const GlobalStyles = createGlobalStyle`
|
||||||
html {
|
html {
|
||||||
font-family: ${fontFamily.body};
|
font-family: ${fontFamily.body};
|
||||||
|
-ms-text-size-adjust: 100%;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: ${BASE_FONT_SIZE}px;
|
font-size: ${BASE_FONT_SIZE}px;
|
||||||
line-height: ${BASE_LINE_HEIGHT}px;
|
line-height: ${BASE_LINE_HEIGHT}px;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: probably extract this */
|
/* TODO: probably extract this */
|
||||||
|
|||||||
Reference in New Issue
Block a user