Skip to content

Commit

Permalink
Fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Feb 21, 2024
1 parent ddd2e96 commit 9933e97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/changelog/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
@tailwind components;
@tailwind utilities;

#changelogcontent {
font-family: var(--font-rubik);
}
.radix-themes {
--cursor-button: pointer;
}
Expand Down
3 changes: 2 additions & 1 deletion app/changelog/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const rubik = Rubik({
weight: ['400', '500', '700'],
style: ['normal', 'italic'],
subsets: ['latin'],
variable: '--font-rubik',
});

export const metadata: Metadata = {
Expand All @@ -23,7 +24,7 @@ export default function ChangelogLayout({children}: {children: ReactNode}) {
return (
<Theme accentColor="violet" grayColor="sand" radius="large" scaling="95%">
<NextTopLoader color="#8d5494" />
<div className={`${rubik.className}`}>
<div id="changelogcontent" className={`${rubik.variable}`}>
<Navbar />
<div className="bg-gray-100">{children}</div>
<div className="w-full mx-auto h-16 relative bg-darkPurple">
Expand Down

0 comments on commit 9933e97

Please sign in to comment.