From 3841e2a98fc16c4b1cb512cf0ec58fbe8e2acb8c Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Mon, 20 Dec 2021 22:29:01 -0800 Subject: [PATCH] Change Title to use body font --- web/components/mantic-logo.tsx | 1 - web/components/title.tsx | 5 +---- web/tailwind.config.js | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/web/components/mantic-logo.tsx b/web/components/mantic-logo.tsx index afeced49..904844cb 100644 --- a/web/components/mantic-logo.tsx +++ b/web/components/mantic-logo.tsx @@ -17,7 +17,6 @@ export function ManticLogo(props: { darkBackground?: boolean }) { 'font-major-mono lowercase mt-1 sm:text-2xl md:whitespace-nowrap', darkBackground && 'text-white' )} - style={{ fontFamily: 'Major Mono Display,monospace' }} > Mantic Markets diff --git a/web/components/title.tsx b/web/components/title.tsx index 83b39562..6653a9f1 100644 --- a/web/components/title.tsx +++ b/web/components/title.tsx @@ -4,10 +4,7 @@ export function Title(props: { text: string; className?: string }) { const { text, className } = props return (

{text}

diff --git a/web/tailwind.config.js b/web/tailwind.config.js index e899ffcf..4319621d 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -8,7 +8,7 @@ module.exports = { fontFamily: Object.assign( { ...defaultTheme.fontFamily }, { - 'major-mono': ['Courier', 'monospace'], + 'major-mono': ['Major Mono Display', 'monospace'], 'readex-pro': ['Readex Pro', 'sans-serif'], } ),