Skip to content

Commit

Permalink
replace new font with opensans
Browse files Browse the repository at this point in the history
  • Loading branch information
mipyykko committed Aug 22, 2023
1 parent de7791f commit da4d735
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 116 deletions.
209 changes: 98 additions & 111 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions frontend/src/newTheme/fonts.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { Lato, Raleway } from "next/font/google"
import { Open_Sans } from "next/font/google"

export const headerFont = Raleway({
export const headerFont = Open_Sans({
weight: ["400", "600", "700"],
style: ["normal", "italic"],
fallback: ["system-ui", "Cantarell", "Ubuntu", "roboto", "sans-serif"],
fallback: ["Helvetica", "Arial", "sans-serif"],
display: "swap",
subsets: ["latin"],
variable: "--header-font",
preload: false,
})

export const bodyFont = Lato({
export const bodyFont = Open_Sans({
weight: ["400", "700"],
style: ["normal", "italic"],
fallback: ["system-ui", "Cantarell", "Ubuntu", "roboto", "sans-serif"],
fallback: ["Helvetica", "Arial", "sans-serif"],
display: "swap",
subsets: ["latin"],
variable: "--body-font",
Expand Down

0 comments on commit da4d735

Please sign in to comment.