From 89bbe537507173e0bc999313a713cec88f846551 Mon Sep 17 00:00:00 2001 From: Nicholas Barnett Date: Thu, 16 Jan 2025 11:25:50 -0600 Subject: [PATCH] feat: commenting out fonts logic for now --- src/ui/theme/fonts.ts | 103 ++++++++++++++++++++++-------------------- 1 file changed, 54 insertions(+), 49 deletions(-) diff --git a/src/ui/theme/fonts.ts b/src/ui/theme/fonts.ts index 5b660d924..28446acd2 100644 --- a/src/ui/theme/fonts.ts +++ b/src/ui/theme/fonts.ts @@ -1,59 +1,64 @@ import { Instrument_Sans, Inter } from 'next/font/google'; import localFont from 'next/font/local'; -export const inter = Inter({ - subsets: ['latin'], - display: 'swap', -}); +// export const inter = Inter({ +// subsets: ['latin'], +// display: 'swap', +// }); -export const instrumentSans = Instrument_Sans({ - subsets: ['latin'], - display: 'swap', -}); +// export const instrumentSans = Instrument_Sans({ +// subsets: ['latin'], +// display: 'swap', +// }); -export const openSauce = localFont({ - src: [ - { - path: './fonts/opensaucesans-medium-webfont.woff2', - weight: '500', - }, - { - path: './fonts/opensaucesans-regular-webfont.woff2', - weight: '400', - }, - ], -}); +// export const openSauce = localFont({ +// src: [ +// { +// path: './fonts/opensaucesans-medium-webfont.woff2', +// weight: '500', +// }, +// { +// path: './fonts/opensaucesans-regular-webfont.woff2', +// weight: '400', +// }, +// ], +// }); -export const matterRegular = localFont({ - src: [ - { - path: './fonts/matter-regular.woff', - weight: '500', - }, - { - path: './fonts/matter-regular.woff2', - weight: '400', - }, - ], -}); +// export const matterRegular = localFont({ +// src: [ +// { +// path: './fonts/matter-regular.woff', +// weight: '500', +// }, +// { +// path: './fonts/matter-regular.woff2', +// weight: '400', +// }, +// ], +// }); -export const matterMonoRegular = localFont({ - src: [ - { - path: './fonts/matter-mono-regular.woff', - weight: '500', - }, - { - path: './fonts/matter-mono-regular.woff2', - weight: '400', - }, - ], -}); +// export const matterMonoRegular = localFont({ +// src: [ +// { +// path: './fonts/matter-mono-regular.woff', +// weight: '500', +// }, +// { +// path: './fonts/matter-mono-regular.woff2', +// weight: '400', +// }, +// ], +// }); export const FONTS = { - body: inter.style.fontFamily, - heading: openSauce.style.fontFamily, - matter: matterRegular.style.fontFamily, - matterMono: matterMonoRegular.style.fontFamily, - instrument: instrumentSans.style.fontFamily, + // body: inter.style.fontFamily, + // heading: openSauce.style.fontFamily, + // matter: matterRegular.style.fontFamily, + // matterMono: matterMonoRegular.style.fontFamily, + // instrument: instrumentSans.style.fontFamily, + body: { value: 'Inter, sans-serif' }, + heading: { value: 'Open Sauce, sans-serif' }, + matter: { value: 'Matter, sans-serif' }, + matterMono: { value: 'Matter Mono, sans-serif' }, + instrument: { value: 'Instrument Sans, sans-serif' }, };