You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aan de hand van voorbeelden uit de community (GitHub Discussion voor Alert) ontstaat de wens voor het toevoegen van design tokens:
utrecht.alert.heading.font-family
utrecht.alert.heading.font-size
utrecht.alert.heading.font-weight
utrecht.alert.heading.line-height
Geeft men de mogelijkheid de Alert Heading te stijlen ongeacht de heading level.
Hieruit ontstaat direct een volgende wens. Een API toe te voegen aan de diverse Alert implementaties:
utrecht-alert__heading in CSS toevoegen.
Het blijft mogelijk zelf een Heading component in de default slot te stoppen, dus de heading is optioneel.
Er moet ook een headingLevel property komen zodat h1/h2/h3/h4/.. allemaal mogelijk is (h1, really? ja, misschien Alert met HTTP 500?)
Alignment van de icon met de heading is buiten scope, komt in een later stadium.
Why is this hard? Je wil eigenlijk de icon <h1><utrecht-icon>...svg...</utrecht-icon><span>bla bla bla</span></h1> hebben zodat baseline alignment kan op basis van de font settings van de heading.
The text was updated successfully, but these errors were encountered:
Aan de hand van voorbeelden uit de community (GitHub Discussion voor Alert) ontstaat de wens voor het toevoegen van design tokens:
utrecht.alert.heading.font-family
utrecht.alert.heading.font-size
utrecht.alert.heading.font-weight
utrecht.alert.heading.line-height
Geeft men de mogelijkheid de Alert Heading te stijlen ongeacht de heading level.
Hieruit ontstaat direct een volgende wens. Een API toe te voegen aan de diverse Alert implementaties:
utrecht-alert__heading
in CSS toevoegen.headingLevel
property komen zodat h1/h2/h3/h4/.. allemaal mogelijk is (h1, really? ja, misschien Alert met HTTP 500?)<h1><utrecht-icon>...svg...</utrecht-icon><span>bla bla bla</span></h1>
hebben zodat baseline alignment kan op basis van de font settings van de heading.The text was updated successfully, but these errors were encountered: