Skip to content

Commit

Permalink
Merge pull request #149 from gridaco/staging
Browse files Browse the repository at this point in the history
Code UI Font styles update
  • Loading branch information
softmarshmallow authored Aug 25, 2021
2 parents 70eba2c + 3bfa399 commit 5ae0594
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/lib/pages/code/code-options-control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ function __lang_to_docstring_lang(lang: Language): LanguageType {
}

const Wrapper = styled.div`
// for reset body margin 8px
/* margin-right: -8px; */
/* margin-left: -8px; */
div,
ul {
font-family: "Source Code Pro", "Courier New", "Lucida Console", Monaco;
}
`;
12 changes: 12 additions & 0 deletions web/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ export default class HeadDocument extends Document {
`,
}}
/>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,100italic,300italic,400italic,500italic,500,700,700italic,900,900italic"
rel="stylesheet"
type="text/css"
/>
<link
href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400&display=swap"
rel="stylesheet"
/>
</Head>
<body>
<Main />
Expand Down

1 comment on commit 5ae0594

@vercel
Copy link

@vercel vercel bot commented on 5ae0594 Aug 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.