Skip to content

Commit 27c4f00

Browse files
authored
fix weight font
1 parent 2f0d8f3 commit 27c4f00

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

apps/site/next.fonts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const OPEN_SANS = Open_Sans({
77
weight: ['300', '400', '600', '700'],
88
display: 'fallback',
99
subsets: ['latin'],
10-
variable: '--open-sans',
10+
variable: '--font-open-sans',
1111
});
1212

1313
// This configures the Next.js Font for IBM Plex Mono
@@ -17,5 +17,5 @@ export const IBM_PLEX_MONO = IBM_Plex_Mono({
1717
weight: ['400', '600'],
1818
subsets: ['latin'],
1919
fallback: ['ui-monospace'],
20-
variable: '--ibm-plex-mono',
20+
variable: '--font-ibm-plex-mono',
2121
});

apps/site/styles/index.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@
117117
--shadow-lg:
118118
0px 4px 6px -2px var(--color-shadow, rgba(0, 0, 0 / 3%)),
119119
0px 12px 16px -4px var(--color-shadow, rgba(0, 0, 0 / 8%));
120-
--font-open-sans: var(--open-sans);
121-
--font-ibm-plex-mono: var(--ibm-plex-mono);
122-
--font-weight-regular: '400';
123-
--font-weight-medium: '500';
124-
--font-weight-semibold: '600';
125-
--font-weight-bold: '700';
120+
--font-open-sans: var(--font-open-sans);
121+
--font-ibm-plex-mono: var(--font-ibm-plex-mono);
122+
--font-weight-regular: 400;
123+
--font-weight-medium: 500;
124+
--font-weight-semibold: 600;
125+
--font-weight-bold: 700;
126126
--font-xs: 0.75rem;
127127
--font-xs-line-height: 1rem;
128128
--font-sm: 0.87rem;

0 commit comments

Comments
 (0)