Open Robbert opened 3 years ago
Figma component containing a regular and a lead paragraph, including a default measure (line-length) and options for closing paragraph (last-of) with additional bottom margin: https://www.figma.com/file/gqQhMe3gj4YlC6JrZOWiCv/?node-id=2374%3A2086
For the guidelines on the paragraph component we have some things to research:
Perhaps we should also find or do some use research regarding effective lead paragraph styling: larger font size, bold, both?
Naam
Paragraph
Link naar GitHub Discussion
Notities
The text paragraph element
<p>
should be available in Storybook and in Figma, and should be styleable in CSS.<p>
/.nl-paragraph
Development
CSS
margin-block
is configurable (WCAG eis 1.4.12)line-height
is configurable (WCAG eis 1.4.12)color
is configurable (WCAG eis 1.4.3)font-size
is configurable (WCAG eis 1.4.4)Documentatie
UX / visual design
line-height
margin-block
font-size
color
Developer
<p>
for semantic (WCAG)lang
attributeContent writer
Status definition of done
Help wanted
Dit component bestaat nog niet, maar een component wordt genoemd als 'help wanted' wanneer:
Community
Dit component bestaat in de community, om bij NL Design System als 'Community component' genoemd te worden moet het component naast alle 'Help wanted' criteria aan de volgende voorwaarden voldoen:
package.json
bevat SPDX-license code"license": "EUPL-1.2"
LICENSE.TXT
/* @license EUPL-1.2 */
en copyright notice<!-- @license CC0-1.0 -->
Candidate
Dit component is opgenomen in de @nl-design-system-unstable organisatie. Het kernteam verwacht dat het component uiteindelijk een Hall of Fame status krijgt, maar kan nog niet garanderen dat API's niet wijzigen of er onverhoopt een ander vergelijkbaar component in de plaats komt. Omdat het component wel door het kernteam onderhouden wordt voldoet het naast de meeste Community DoD eisen al wel aan veel meer criteria voor stabiel hergebruik:
margin
shorthand property alleen gebruiken met enkele value, niet voor meerdere valuespadding
shorthand property alleen gebruiken met enkele value, niet voor meerdere valuesborder
shorthand property alleen gebruiken met enkele value, niet voor meerdere valuesmargin-inline-end
ipvmargin-right
margin-inline-start
ipvmargin-left
margin-block-start
ipvmargin-top
margin-block-end
ipvmargin-bottom
padding-inline-end
ipvpadding-right
padding-inline-start
ipvpadding-left
padding-block-start
ipvpadding-top
padding-block-end
ipvpadding-bottom
border-inline-end
ipvborder-right
border-inline-start
ipvborder-left
border-block-start
ipvborder-top
border-block-end
ipvborder-bottom
inset-inline-end
ipvright
inset-inline-start
ipvleft
inset-block-start
ipvtop
inset-block-end
ipvbottom
text-align: start
ipvtext-align: left
text-align: end
ipvtext-align: right
nl
common
tokens is geïmplementeerd om theming makkelijk te houden.@nl-design-system-unstable
Hall of fame