File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,10 @@ export async function CustomizationRootLayout(props: {
63
63
tintColor ? ' tint' : 'no-tint' ,
64
64
sidebarStyles . background && `sidebar-${ sidebarStyles . background } ` ,
65
65
sidebarStyles . list && `sidebar-list-${ sidebarStyles . list } ` ,
66
- 'links' in customization . styling && `links-${ customization . styling . links } `
66
+ 'links' in customization . styling && `links-${ customization . styling . links } ` ,
67
+ fontNotoColorEmoji . variable ,
68
+ fonts [ customization . styling . font ] . variable ,
69
+ ibmPlexMono . variable
67
70
) }
68
71
>
69
72
< head >
@@ -115,9 +118,6 @@ export async function CustomizationRootLayout(props: {
115
118
</ head >
116
119
< body
117
120
className = { tcls (
118
- fontNotoColorEmoji . className ,
119
- `${ fonts [ customization . styling . font ] . className } ` ,
120
- `${ ibmPlexMono . variable } ` ,
121
121
'bg-tint-base' ,
122
122
'theme-muted:bg-tint-subtle' ,
123
123
'theme-bold-tint:bg-tint-subtle' ,
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ const abcFavorit = localFont({
188
188
/**
189
189
* Font definitions.
190
190
*/
191
- export const fonts : { [ fontName in CustomizationFont ] : { className : string } } = {
191
+ export const fonts : { [ fontName in CustomizationFont ] : { variable : string } } = {
192
192
[ CustomizationFont . Inter ] : inter ,
193
193
[ CustomizationFont . FiraSans ] : firaSans ,
194
194
[ CustomizationFont . IBMPlexSerif ] : ibmPlexSerif ,
You can’t perform that action at this time.
0 commit comments