Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Conversation

@beafialho
Copy link
Contributor

@beafialho beafialho commented Sep 5, 2024

Description

Currently, the default home template looks like this if we add a post with some headings in the content:

Captura de ecrã 2024-09-05, às 16 24 05

It's not a good look that the post title is smaller than the subsequent headings from the post content.

So I tinkered with the heading sizes in global styles to see how we could solve this issue. I also checked with the patterns and although the scale of the headings in some of them is a bit smaller, I think they still look good. This is how it looks with the updated suggestion:

Captura de ecrã 2024-09-05, às 16 28 20

The sizes are the following:

H1: 2.62rem
H2: 1.8rem
H3: 1.64rem
H4: 1.5rem
H5: 1.25rem
H6: 0.875rem (Bold, uppercase, 1.4px letter spacing)

I also changed the font size of the "Blog" heading in the actual template.

Once these are reviewed, I'll update these heading sizes on the Figma file for coherency.

@github-actions
Copy link

github-actions bot commented Sep 5, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: beafialho <[email protected]>
Co-authored-by: carolinan <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@carolinan carolinan merged commit 63d16e5 into trunk Sep 6, 2024
@juanfra juanfra deleted the update-heading-sizes-default-home-template branch September 6, 2024 08:28
@juanfra
Copy link
Member

juanfra commented Sep 9, 2024

I believe we need to make a pass on the different patterns to get the sizes matching.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants