Replies: 1 comment 1 reply
|
Hey @Tim-UXUI, technically, it is already possible for the OnyxHeadline component to define the size independantly from the semantic (h1-h6), is this what you are requesting? This example shows a h4 semantic headline that is visually displayed as h1: https://storybook.onyx.schwarz/?path=/story/navigation-headline--default&args=is:h4;showAs:h1 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi Onyx team 👋
Problem
The current type scale tops out at the headline styles. In practice, we regularly hit cases where headlines are semantically wrong or visually too small:
Using headline styles for these cases creates two issues: the visual weight is often insufficient, and it muddies the semantic role of headlines (a KPI is not a heading).
Proposal
Introduce a dedicated display tier above the headline styles — e.g. display-sm / display-md / display-lg. This is an established pattern across major design systems: Material 3, Carbon, and Polaris all separate display from heading styles for exactly this reason.
Alternatives considered
Open questions
Thanks for looking into it and support in advance. 🙌
All reactions