Skip to content

Commit

Permalink
Change font
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Jun 1, 2024
1 parent 0243541 commit 78c49e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/server/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const getCSP = (nonce: string) => {
return [
`default-src 'self';`,
`script-src 'nonce-${nonce}' 'strict-dynamic' 'unsafe-inline' https:;`,
`style-src-elem 'nonce-${nonce}' 'strict-dynamic' 'unsafe-inline' https:;`,
`style-src 'nonce-${nonce}';`,
`font-src 'self' https://fonts.gstatic.com;`,
`media-src 'self' blob: *.backblazeb2.com;`,
Expand Down Expand Up @@ -73,10 +74,11 @@ export const Head = ({ initialState }: HeadProps) => {
})}
<title>{title}</title>
<meta name='description' content='Render Portal 2 demos on-demand!' />
<link rel='icon' type='image/x-icon' href='/favicon.ico' />
<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' crossOrigin='anonymous' />
<link
href='https://fonts.googleapis.com/css2?family=Inter:wght@300..600&display=swap'
rel='stylesheet'
href='https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap'
nonce={state.nonce}
/>
<link
Expand Down
2 changes: 1 addition & 1 deletion src/server/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const sheet = virtualSheet();
setup({
theme: {
fontFamily: {
sans: ['Roboto', 'sans-serif'],
sans: ['Inter', 'sans-serif'],
},
colors: {
discord: {
Expand Down

0 comments on commit 78c49e4

Please sign in to comment.