File tree Expand file tree Collapse file tree 7 files changed +30
-18
lines changed
Expand file tree Collapse file tree 7 files changed +30
-18
lines changed Original file line number Diff line number Diff line change 1- import { Inter } from "@next/font/google" ;
1+ import { JetBrains_Mono } from "@next/font/google" ;
22
3- const inter = Inter ( { subsets : [ "latin" ] , variable : "--font-inter" } ) ;
3+ const mono = JetBrains_Mono ( {
4+ subsets : [ "latin" ] ,
5+ variable : "--font-mono" ,
6+ weight : [ "400" ] ,
7+ } ) ;
48
59export default function RootLayout ( {
610 children,
@@ -10,7 +14,7 @@ export default function RootLayout({
1014 return (
1115 < html lang = "en" className = "theme-light" >
1216 < head />
13- < body className = { `${ inter . variable } font-sans ` } > { children } </ body >
17+ < body className = { `${ mono . variable } font-mono ` } > { children } </ body >
1418 </ html >
1519 ) ;
1620}
Original file line number Diff line number Diff line change 1- import { Inter } from "@next/font/google" ;
1+ import { JetBrains_Mono } from "@next/font/google" ;
22
3- const inter = Inter ( { subsets : [ "latin" ] , variable : "--font-inter" } ) ;
3+ const mono = JetBrains_Mono ( {
4+ subsets : [ "latin" ] ,
5+ variable : "--font-mono" ,
6+ weight : [ "400" ] ,
7+ } ) ;
48
59export default function RootLayout ( {
610 children,
@@ -10,7 +14,7 @@ export default function RootLayout({
1014 return (
1115 < html lang = "en" className = "theme-gray-light" >
1216 < head />
13- < body className = { `${ inter . variable } font-sans ` } > { children } </ body >
17+ < body className = { `${ mono . variable } font-mono ` } > { children } </ body >
1418 </ html >
1519 ) ;
1620}
Original file line number Diff line number Diff line change 1- import { Inter } from "@next/font/google" ;
1+ import { JetBrains_Mono } from "@next/font/google" ;
22
3- const inter = Inter ( { subsets : [ "latin" ] , variable : "--font-inter" } ) ;
3+ const mono = JetBrains_Mono ( {
4+ subsets : [ "latin" ] ,
5+ variable : "--font-mono" ,
6+ weight : [ "400" ] ,
7+ } ) ;
48
59export default function RootLayout ( {
610 children,
@@ -10,7 +14,7 @@ export default function RootLayout({
1014 return (
1115 < html lang = "en" className = "theme-gray-light" >
1216 < head />
13- < body className = { `${ inter . variable } font-sans ` } > { children } </ body >
17+ < body className = { `${ mono . variable } font-mono ` } > { children } </ body >
1418 </ html >
1519 ) ;
1620}
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ export const ExampleLayout: FC<
4747 viewBox = "0 0 24 24"
4848 fill = "none"
4949 stroke = "currentColor"
50- stroke-width = "2"
51- stroke-linecap = "round"
52- stroke-linejoin = "round"
50+ strokeWidth = "2"
51+ strokeLinecap = "round"
52+ strokeLinejoin = "round"
5353 >
5454 < line x1 = "16.5" y1 = "9.4" x2 = "7.5" y2 = "4.21" > </ line >
5555 < path d = "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" > </ path >
@@ -71,9 +71,9 @@ export const ExampleLayout: FC<
7171 viewBox = "0 0 24 24"
7272 fill = "none"
7373 stroke = "currentColor"
74- stroke-width = "2"
75- stroke-linecap = "round"
76- stroke-linejoin = "round"
74+ strokeWidth = "2"
75+ strokeLinecap = "round"
76+ strokeLinejoin = "round"
7777 >
7878 < path d = "M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" > </ path >
7979 < path d = "M9 18c-4.51 2-5-2-7-2" > </ path >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module.exports = {
1111 theme : {
1212 extend : {
1313 fontFamily : {
14- sans : [ "var(--font-inter )" , ...fontFamily . sans ] ,
14+ mono : [ "var(--font-mono )" , ...fontFamily . mono ] ,
1515 } ,
1616 } ,
1717 } ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = {
88 theme : {
99 extend : {
1010 fontFamily : {
11- sans : [ "var(--font-inter )" , ...fontFamily . sans ] ,
11+ mono : [ "var(--font-mono )" , ...fontFamily . mono ] ,
1212 } ,
1313 } ,
1414 } ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = {
88 theme : {
99 extend : {
1010 fontFamily : {
11- sans : [ "var(--font-inter )" , ...fontFamily . sans ] ,
11+ mono : [ "var(--font-mono )" , ...fontFamily . mono ] ,
1212 } ,
1313 } ,
1414 } ,
You can’t perform that action at this time.
0 commit comments