Replies: 1 comment
-
|
I get the idea but I am not sure if we should really abstract it this far. Also, coupling the content to it could be very edge case unfriendly since headlines might also be used in components like cards or with different content padding However, I am still open to try this out and check how it feels :) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
While headlines are one of the most important elements on websites, they are easy to misuse:
h1might be used multiple timesInstead of providing a standalone
OnyxHeadlinecomponent, which just represents a heading without content, we could implement a component API thatrevealandselectmode)<OnyxHeadline level="child">instead of<OnyxHeadline is="h2">) via VueinjectandprovideBeta Was this translation helpful? Give feedback.
All reactions