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
-
While headlines are one of the most important elements on websites, they are easy to misuse:
h1
might be used multiple timesInstead of providing a standalone
OnyxHeadline
component, which just represents a heading without content, we could implement a component API thatreveal
andselect
mode)<OnyxHeadline level="child">
instead of<OnyxHeadline is="h2">
) via Vueinject
andprovide
Beta Was this translation helpful? Give feedback.
All reactions