Skip to content

Commit 4646bfd

Browse files
jdclaude
andcommitted
refactor(design): migrate homepage to typography utility classes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Change-Id: Iab12a65e56e6d207be662e98fbfc3beca04b2763
1 parent 8317273 commit 4646bfd

2 files changed

Lines changed: 7 additions & 16 deletions

File tree

src/content/docs/index.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import Button from '~/components/Button.astro';
1414

1515
<div class="home-hero">
1616
<div class="hero-inner">
17-
<h1 class="content-title">Ship Code Faster, Break Less</h1>
18-
<div class="tagline content-subtitle">
17+
<h1 class="heading-hero">Ship Code Faster, Break Less</h1>
18+
<div class="tagline text-subtitle">
1919
Mergify eliminates broken builds, tames flaky tests, and
2020
cuts CI waste—so your team ships with confidence.
2121
</div>
@@ -41,7 +41,7 @@ import Button from '~/components/Button.astro';
4141

4242
{/* -------------- PROBLEM-SOLUTION CARDS -------------- */}
4343

44-
<h2 class="home-title">What Problem Are You Solving?</h2>
44+
<h2 class="heading-section">What Problem Are You Solving?</h2>
4545

4646
<div class="home-problems">
4747
<a href="/merge-queue" class="home-problem-card">
@@ -69,7 +69,7 @@ import Button from '~/components/Button.astro';
6969

7070
{/* -------------- PRODUCT OVERVIEW -------------- */}
7171

72-
<h2 class="home-title">Products</h2>
72+
<h2 class="heading-section">Products</h2>
7373

7474
<DocsetGrid>
7575
<Docset title="Merge Queue" path="/merge-queue" icon="octicon:git-merge-queue-16">
@@ -85,7 +85,7 @@ import Button from '~/components/Button.astro';
8585

8686
{/* -------------- GET STARTED -------------- */}
8787

88-
<h2 class="home-title">Get Started</h2>
88+
<h2 class="heading-section">Get Started</h2>
8989

9090
<div class="home-get-started">
9191
<Button variant="primary" href="/merge-queue/setup" target="_self">Set up Merge Queue</Button>
@@ -102,7 +102,7 @@ import Button from '~/components/Button.astro';
102102

103103
{/* -------------- REFERENCE -------------- */}
104104

105-
<h2 class="home-title">Reference</h2>
105+
<h2 class="heading-section">Reference</h2>
106106

107107
[Configuration](/configuration/file-format) ·
108108
[Conditions](/configuration/conditions) ·
@@ -137,7 +137,7 @@ import Button from '~/components/Button.astro';
137137
{/* -------------- COMMUNITY -------------- */}
138138

139139
<section class="community">
140-
<h2 class="home-title">Community</h2>
140+
<h2 class="heading-section">Community</h2>
141141
<p>Share feedback, ask questions, and see what other teams build with Mergify.</p>
142142
<div class="community-buttons">
143143
<CommunityButton href="https://github.com/Mergifyio/mergify/discussions" icon="simple-icons:github" />

src/styles/index.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,12 +1033,3 @@ article.content {
10331033
font-size: var(--text-sm);
10341034
color: rgba(255, 255, 255, 0.9);
10351035
}
1036-
1037-
/* Home page: Section title */
1038-
.home-title {
1039-
font-size: var(--text-2xl);
1040-
font-weight: 500;
1041-
letter-spacing: -0.025em;
1042-
margin-top: 2rem;
1043-
margin-bottom: 1rem;
1044-
}

0 commit comments

Comments
 (0)