Skip to content

Commit

Permalink
use unique font name
Browse files Browse the repository at this point in the history
  • Loading branch information
gaojude committed Feb 20, 2025
1 parent 068d052 commit d67926e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const FontStyles = () => {
style.textContent = css`
/* latin-ext */
@font-face {
font-family: 'Geist';
font-family: '__nextjs-Geist';
font-style: normal;
font-weight: 400 600;
font-display: swap;
Expand All @@ -19,7 +19,7 @@ export const FontStyles = () => {
}
/* latin-ext */
@font-face {
font-family: 'Geist Mono';
font-family: '__nextjs-Geist Mono';
font-style: normal;
font-weight: 400 600;
font-display: swap;
Expand All @@ -31,7 +31,7 @@ export const FontStyles = () => {
}
/* latin */
@font-face {
font-family: 'Geist';
font-family: '__nextjs-Geist';
font-style: normal;
font-weight: 400 600;
font-display: swap;
Expand All @@ -42,7 +42,7 @@ export const FontStyles = () => {
}
/* latin */
@font-face {
font-family: 'Geist Mono';
font-family: '__nextjs-Geist Mono';
font-style: normal;
font-weight: 400 600;
font-display: swap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export function Base() {
--color-text-color-red-1: #ff5555;
--color-text-background-red-1: #fff9f9;
--font-stack-monospace: 'Geist Mono', 'SFMono-Regular', Consolas,
'Liberation Mono', Menlo, Courier, monospace;
--font-stack-sans: 'Geist', -apple-system, 'Source Sans Pro',
--font-stack-monospace: '__nextjs-Geist Mono', 'SFMono-Regular',
Consolas, 'Liberation Mono', Menlo, Courier, monospace;
--font-stack-sans: '__nextjs-Geist', -apple-system, 'Source Sans Pro',
sans-serif;
font-family: var(--font-stack-sans);
Expand Down

0 comments on commit d67926e

Please sign in to comment.