Cleanup and use system font

This commit is contained in:
Aswin V 2022-02-24 23:31:35 +05:30
parent b613310dfc
commit bbe8647160
2 changed files with 2 additions and 30 deletions

View File

@ -1,24 +0,0 @@
import Document, { Html, Head, Main, NextScript } from 'next/document';
class MyDocument extends Document {
render() {
return (
<Html>
<Head>
<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' crossOrigin='true' />
<link
href='https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap'
rel='stylesheet'
/>
</Head>
<body className='theme-default'>
<Main />
<NextScript />
</body>
</Html>
);
}
}
export default MyDocument;

View File

@ -2,16 +2,12 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
.theme-default {
--color-primary: 37 194 160;
--color-secondary: 48 56 70;
}
html, html,
body { body {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: 'Manrope', sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
'Helvetica Neue', sans-serif;
height: 100%; height: 100%;
} }
#__next { #__next {