Skip to content

Unify homepage card styles and typography - #3329

Merged
pwizla merged 2 commits into
mainfrom
repo/unify-homepage-card-styles
Jul 15, 2026
Merged

Unify homepage card styles and typography#3329
pwizla merged 2 commits into
mainfrom
repo/unify-homepage-card-styles

Conversation

@annakudelska

Copy link
Copy Markdown
Contributor

This PR unifies the styling of the cards on the documentation homepage, which previously looked inconsistent because some cards read as filled while others visually blended into the page background. All five card types (quick start, explore, features, showcase, and deploy) now share the same outline treatment: a transparent background, a --strapi-border-strong border, a 16px radius (--strapi-radius-lg), a subtle --strapi-shadow-xs shadow to lift them off the page, and identical hover behaviour (an --strapi-accent-light border plus a 2px lift).

Card headings are also unified. They now all use the Poppins display font (--strapi-font-family-display), the --strapi-fg-1 text color, and a 600 font weight, which fixes the "Powerful features" titles that previously used a different font, color, and weight from every other section. Icon tile radii are normalised to 12px and all three card grids now use a 24px gap.

In dark mode, the hard-coded #1a1a2e card fills and redundant hover overrides were removed so cards stay transparent and rely on the border, which flips automatically via the token. Icon tile backgrounds in dark mode are unified to a single value.

Only docusaurus/src/pages/home/home.module.scss was changed and yarn build passes without errors.

annakudelska and others added 2 commits July 9, 2026 14:28
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@annakudelska
annakudelska requested a review from pwizla as a code owner July 9, 2026 13:41
@strapi-cla

strapi-cla commented Jul 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jul 9, 2026 1:41pm

Request Review

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

👋 Thank you so much for contributing to the Strapi documentation!

Our team is currently away and won't be able to review your pull request right away. Rest assured we'll get to it as soon as we're back. Thanks a lot for your patience! 🙏

@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo labels Jul 9, 2026
@pwizla pwizla added this to the 7.1.0 milestone Jul 15, 2026
@pwizla pwizla added pr: chore and removed pr: updated content PRs updating existing documentation content labels Jul 15, 2026
@pwizla pwizla self-assigned this Jul 15, 2026
@pwizla
pwizla merged commit dcbf0a7 into main Jul 15, 2026
10 checks passed
@pwizla
pwizla deleted the repo/unify-homepage-card-styles branch July 15, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

3 participants