Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/app/conf/2025/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { GraphQLConf, HostedByGraphQLFoundation } from "@/icons"
import NextLink from "next/link"
import { NewFontsStyleTag } from "../../fonts"
import "../../colors.css"
import "../../typography.css"

export const metadata = {
description:
Expand Down
102 changes: 102 additions & 0 deletions src/app/typography.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.typography-d1,
.typography-h1,
.typography-h2,
.typography-h3 {
line-height: 1.2;
}

.typography-body-lg,
.typography-body-md,
.typography-body-sm,
.typography-body-xs {
line-height: 1.5;
}

.typography-d1 {
font-size: 96px;
}
@media (min-width: 1024px) {
.typography-d1 {
font-size: 48px;
}
}

.typography-h1 {
font-size: 40px;
}
@media (min-width: 1024px) {
.typography-h1 {
font-size: 72px;
}
}

.typography-h2 {
font-size: 32px;
}
@media (min-width: 768px) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we use the tailwind breakpoints here?

Copy link
Owner Author

Choose a reason for hiding this comment

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

great minds ^^

image image

I should probably rebase it to make it cleaner tho

.typography-h2 {
font-size: 48px;
}
}

.typography-h3 {
font-size: 24px;
}
@media (min-width: 768px) {
.typography-h3 {
font-size: 32px;
}
}

.typography-body-lg {
font-size: 16px;
}
@media (min-width: 768px) {
.typography-body-lg {
font-size: 20px;
}
}

.typography-body-md {
font-size: 14px;
}
@media (min-width: 768px) {
.typography-body-md {
font-size: 16px;
}
}

.typography-body-sm {
font-size: 12px;
}
@media (min-width: 768px) {
.typography-body-sm {
font-size: 14px;
}
}

.typography-body-xs {
font-size: 10px;
}
@media (min-width: 768px) {
.typography-body-xs {
font-size: 12px;
}
}

.typography-button,
.typography-tagline {
font-size: 16px;
line-height: 1;
}

.typography-tagline {
text-transform: uppercase;
}

.typography-menu {
font-family: var(--font-mono);
font-size: 14px;
line-height: 1;
text-transform: uppercase;
}