Skip to content

new conf design — fonts #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: source
Choose a base branch
from
Open

Conversation

hasparus
Copy link
Owner

Description

Added Commit Mono and Host Grotesk.
This PR touches the older conference websites because there was previously a global on HTML.
I moved to using a custom CSS properties --font-sans and --font-mono, so it's easier to avoid conflicts and usage of font-sans from Tailwind doesn't override the global font.

@@ -28,7 +23,7 @@ export default function RootLayout({
children: ReactNode
}): ReactElement {
return (
<html lang="en" className={`scroll-smooth ${font.className}`}>
<html lang="en" className="scroll-smooth">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we still need <OldFonts/> applied to the rest of the pages like the blog

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The blog is in Pages router / Nextra 3, so it still has the font in _app.tsx.

Uri told me I can spend a moment refactoring this and migrating libraries, but... I just don't wanna do it yet. Let's get this conf website up, and then we can think about bumping Tailwind and unifying the routers, and doing whatever else

I kinda aligned on @kamilkisiela's opinion on SSG metaframeworks after reading some newest changelogs.

@hasparus hasparus force-pushed the new-conf-design--fonts branch from efabe54 to 4b08c52 Compare May 15, 2025 16:14
Copy link

vercel bot commented May 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fabulous-isomorphism ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 5:41pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants