Add font and global styles

This commit is contained in:
Hazem Krimi
2021-04-07 22:04:06 +01:00
parent 4e33f8714f
commit 6e4e9d9f4f
2 changed files with 20 additions and 0 deletions
+5
View File
@@ -24,6 +24,11 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<title>Astrobuild</title>
</head>
<body>
+15
View File
@@ -0,0 +1,15 @@
import { createGlobalStyle } from 'styled-components';
const GlobalStyles = createGlobalStyle`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', monospace;
font-size: 16px;
line-height: 1.5;
outline: none;
}
`;
export default GlobalStyles;