Skip to content

Commit

Permalink
Remove Lexend / Only use Inter font (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
boshevski authored Sep 25, 2023
1 parent 37d54ad commit fd4e3f6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 102 deletions.
9 changes: 1 addition & 8 deletions app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ const inter = Inter({
variable: '--font-inter',
})

// Use local version of Lexend so that we can use OpenType features
const lexend = localFont({
src: '../src/fonts/lexend.woff2',
display: 'swap',
variable: '--font-lexend',
})

export const metadata = {
title: {
template: '%s - Storj Docs',
Expand All @@ -39,7 +32,7 @@ export default function RootLayout({
return (
<html
lang="en"
className={clsx('h-full antialiased', inter.variable, lexend.variable)}
className={clsx('h-full antialiased', inter.variable)}
suppressHydrationWarning
>
<head />
Expand Down
93 changes: 0 additions & 93 deletions src/fonts/lexend.txt

This file was deleted.

Binary file removed src/fonts/lexend.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = {
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
display: ['Lexend', ...defaultTheme.fontFamily.sans],
},
maxWidth: {
'8xl': '88rem',
Expand Down

0 comments on commit fd4e3f6

Please sign in to comment.