Skip to content

Commit

Permalink
chore: next/fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlilley committed Jun 22, 2023
1 parent 7e0ca35 commit 0e479aa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
22 changes: 18 additions & 4 deletions apps/_root/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ import React from 'react'
import { Providers } from './providers'
import { SanctionedAddressDialog } from '@sushiswap/wagmi/components/SanctionedAddressDialog'

import { Inter, Roboto_Mono } from 'next/font/google'

const inter = Inter({
subsets: ['latin'],
display: 'swap',
variable: '--font-inter',
})

const roboto_mono = Roboto_Mono({
subsets: ['latin'],
display: 'swap',
variable: '--font-roboto-mono',
})

export const metadata: Metadata = {
title: {
default: 'Sushi 🍣',
Expand All @@ -18,7 +32,7 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
// <html lang="en" className="[color-scheme:dark]">
<html lang="en" className="dark">
<html lang="en" className={`${inter.variable} ${roboto_mono.variable} dark`}>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=1" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=1" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=1" />
Expand All @@ -27,9 +41,9 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<link rel="shortcut icon" href="/favicon.ico?v=1" />
<body className="h-screen">
<Providers>
<SanctionedAddressDialog/>
{children}
</Providers>
<SanctionedAddressDialog />
{children}
</Providers>
</body>
</html>
)
Expand Down
3 changes: 2 additions & 1 deletion config/tailwindcss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const config = {
},
extend: {
fontFamily: {
sans: ['Inter Variable', ...defaultTheme.fontFamily.sans],
sans: ['var(--font-inter)'],
mono: ['var(--font-roboto-mono)'],
},
backgroundImage: () => ({
'gradient-radial': 'radial-gradient(#13213E, #111829)',
Expand Down

7 comments on commit 0e479aa

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

token-list – ./apis/token-list

token-list-git-master.sushi.com
token-list-sepia.vercel.app
token-list.sushi.com

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

furo – ./apps/furo

furo.sushi.com
furo-git-master.sushi.com

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

academy – ./apps/academy

academy-git-master.sushi.com
academy.sushi.com

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

blog – ./apps/blog

blog.sushi.com
blog-git-master.sushi.com

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

root – ./apps/_root

www.sushi.com
sushi.com
root-git-master.sushi.com
root.sushi.com

@vercel
Copy link

@vercel vercel bot commented on 0e479aa Jun 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

earn – ./apps/earn

earn.sushi.com
earn-git-master.sushi.com

Please sign in to comment.