From d93c0909a3d4e4cf80ad7414f6ff04648a34b9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20F=C3=BCrhoff?= <12294151+imagoiq@users.noreply.github.com> Date: Mon, 19 Feb 2024 08:18:17 +0100 Subject: [PATCH] chore(contributing): Precise HCM theme and add id-UUID (#2662) --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3287d89592..bb52c433bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,7 +61,7 @@ Use these commands whenever you want to work on one of these packages. Ideally, #### Testing - Cross browser testing of the docs (official Post supported browsers -> https://github.com/swisspost/design-system/blob/main/packages/styles/.browserslistrc) -- Testing the High Contrast mode +- Testing the High Contrast mode with light and dark theme (and cross browser) - Approval by UX for the story - Screen reader testing (at least nvda+win) @@ -71,6 +71,7 @@ Use these commands whenever you want to work on one of these packages. Ideally, #### Docs +- Add the `id` property in the meta of each story file. The property should contain an UUID (feel free to use your favorite tool) - No react related attributes in code snippets (e.g. className, htmlFor, key, etc.) - No nested `

` tags (beware of .lead and .alert) - When using LinkTo use both the `kind` and `story` attributes