Skip to content

Commit 3a71047

Browse files
roboto mono and tilewind
1 parent 7fa28de commit 3a71047

File tree

4 files changed

+528
-28
lines changed

4 files changed

+528
-28
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"test": "jest"
1515
},
1616
"dependencies": {
17+
"babel-plugin-styled-components": "^1.12.0",
1718
"beprofiler": "^0.2.3",
1819
"date-fns": "^2.11.1",
1920
"gray-matter": "^4.0.2",
@@ -23,7 +24,10 @@
2324
"react": "17.0.1",
2425
"react-dom": "17.0.1",
2526
"remark": "^12.0.0",
26-
"remark-html": "^12.0.0"
27+
"remark-html": "^12.0.0",
28+
"styled-components": "^5.3.0",
29+
"tailwindcss": "^2.1.2",
30+
"twin.macro": "^2.4.2"
2731
},
2832
"devDependencies": {
2933
"@babel/core": "^7.14.3",

src/components/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const Layout: React.FC<LayoutProps> = ({ children, home }) => {
2525
/>
2626
<meta name="og:title" content={translate(translationKeys.site.title)} />
2727
<meta name="twitter:card" content="summary_large_image" />
28+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto Mono" />
2829
</Head>
2930
<header className={styles.header}>
3031
{home ? (

src/styles/global.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ html,
22
body {
33
padding: 0;
44
margin: 0;
5-
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans,
6-
Helvetica Neue, sans-serif;
5+
font-family: Roboto Mono, sans-serif;
76
line-height: 1.6;
87
font-size: 18px;
98
}

0 commit comments

Comments
 (0)