Skip to content

Docs: replace deprecated .lead with .fs-lg .fw-light in homepage and examples#42574

Merged
julien-deramond merged 2 commits into
v6-devfrom
v6-dev-jd-drop-deprecated-lead-utility
Jun 30, 2026
Merged

Docs: replace deprecated .lead with .fs-lg .fw-light in homepage and examples#42574
julien-deramond merged 2 commits into
v6-devfrom
v6-dev-jd-drop-deprecated-lead-utility

Conversation

@julien-deramond

Copy link
Copy Markdown
Member

Description

Spotted in #42487.

This PR replaces the deprecated .lead text utility with .fs-lg .fw-light in homepage and examples.

In v5:

.lead {
  font-size: 1.25rem; // 20px
  font-weight: 300;
}

The closest rendering we can get with v6 utilities is .fs-lg (24px) and .fw-light (300); a bit bigger.

What's been done:

  • All examples have been updated to make this replacement
    • Special mention in Checkout example that sill showed the .lead rendering/explanation
  • Updated the homepage to use this replacement, and also removed the .lead overrides. I simplified everything because I know that @mdo will revamp this homepage anyway.
  • Added a note in the migration guide to mention this change

@coliff

coliff commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

looking good - let's get it merged!

@julien-deramond julien-deramond force-pushed the v6-dev-jd-drop-deprecated-lead-utility branch from f9c9946 to 2de7e2f Compare June 30, 2026 19:33
@julien-deramond julien-deramond merged commit b034189 into v6-dev Jun 30, 2026
11 of 12 checks passed
@julien-deramond julien-deramond deleted the v6-dev-jd-drop-deprecated-lead-utility branch June 30, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants