Skip to content

Global styles: heading and text font families #21028

Closed

Description

@karmatosed

I am pulling out each functionality to be added into global styles. This issue will focus on heading and text font families specifically.

Basic version

This has nothing extra, just a way to set font families:

image

Adding in line-height and styling

Perhaps a next step could be to add line-height and styling.

image

As fonts are adjusted, some control like this makes a lot of sense.

Adding in sizing

Whilst there is planned to be a scale to set sizing, bringing a way to set size on heading and text makes a lot of sense also. This is getting a quite intense interface, so looking at ways to ease through icons might be a good option here:

Frame 8

Full screen

This then looks in the context of global styles like this:

all

Feedback

A lot of conversation around this happened in #20367, it would be great to focus here and then get an implementation to see what this feels like.

  • This could have fonts declared by theme potentially.
  • The system fonts might be a good offer as basic options.
  • It would be good to decide how far we go on v1 here and then scale up what we offer, it might simply be offering the families.

Activity

  1. added
    Needs DevReady for, and needs developer efforts
    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json
    on Mar 19, 2020
  2. youknowriad commented on May 8, 2023

    @youknowriad
    Contributor

    Screenshot 2023-05-08 at 3 03 39 PM

    I think this issue has been solved some time ago, please let me know If I'm missing anything.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonNeeds DevReady for, and needs developer efforts[Block] HeadingAffects the Headings Block

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions