Skip to content

Commit

Permalink
feat: commenting out fonts logic for now
Browse files Browse the repository at this point in the history
  • Loading branch information
BLuEScioN committed Jan 16, 2025
1 parent 90ae3e0 commit 89bbe53
Showing 1 changed file with 54 additions and 49 deletions.
103 changes: 54 additions & 49 deletions src/ui/theme/fonts.ts
Original file line number Diff line number Diff line change
@@ -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' },
};

0 comments on commit 89bbe53

Please sign in to comment.