@conduction/theme 1.1.61 → 1.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/nlds-reference.md +1216 -0
- package/.claude/skills/nlds-new/SKILL.md +48 -0
- package/.claude/skills/nlds-update/SKILL.md +53 -0
- package/.gitattributes +64 -0
- package/README.md +2 -0
- package/conduction-design-tokens/src/component/utrecht/extra-tokens/link.tokens.json +2 -1
- package/municipalities/hof-van-twente-design-tokens/src/component/conduction/logo.tokens.json +7 -7
- package/municipalities/vaals-design-tokens/LICENSE.md +17 -0
- package/municipalities/vaals-design-tokens/README.md +23 -0
- package/municipalities/vaals-design-tokens/documentation/color.stories.mdx +17 -0
- package/municipalities/vaals-design-tokens/documentation/components.stories.mdx +11 -0
- package/municipalities/vaals-design-tokens/documentation/design-tokens.stories.mdx +14 -0
- package/municipalities/vaals-design-tokens/documentation/readme.stories.mdx +7 -0
- package/municipalities/vaals-design-tokens/package.json +37 -0
- package/municipalities/vaals-design-tokens/src/brand/vaals/color.tokens.json +129 -0
- package/municipalities/vaals-design-tokens/src/brand/vaals/font-size.tokens.json +54 -0
- package/municipalities/vaals-design-tokens/src/brand/vaals/size.tokens.json +17 -0
- package/municipalities/vaals-design-tokens/src/brand/vaals/typography.tokens.json +40 -0
- package/municipalities/vaals-design-tokens/src/common/utrecht/action.tokens.json +9 -0
- package/municipalities/vaals-design-tokens/src/common/utrecht/space.tokens.json +28 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/card-header.tokens.json +34 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/card-wrapper.tokens.json +33 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/logo.tokens.json +27 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/pagination.tokens.json +95 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/select.tokens.json +39 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/table-wrapper.tokens.json +21 -0
- package/municipalities/vaals-design-tokens/src/component/conduction/tooltip.tokens.json +17 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/accordion.tokens.json +68 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/alert.tokens.json +46 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/badge-counter.tokens.json +13 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/badge-status.tokens.json +8 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/badge.tokens.json +15 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/blockquote.tokens.json +27 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/breadcrumb.tokens.json +44 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/button.tokens.json +152 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/calendar.tokens.json +80 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/checkbox.tokens.json +57 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/code.tokens.json +26 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/data-list.tokens.json +28 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/document.tokens.json +12 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/accordion.tokens.json +36 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/alert.tokens.json +9 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/badge-counter.tokens.json +11 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/breadcrumb.tokens.json +21 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/form-field.tokens.json +13 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/form-input.tokens.json +26 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/heading.tokens.json +28 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/icon.tokens.json +7 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/link.tokens.json +11 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/page-footer.tokens.json +46 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/page-header.tokens.json +15 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/radio-button.tokens.json +14 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/skip-link.tokens.json +24 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/table.tokens.json +37 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/extra-tokens/textbox.tokens.json +26 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/focus.tokens.json +15 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/form-field.tokens.json +17 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/form-input.tokens.json +31 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/form-label.tokens.json +23 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/heading.tokens.json +49 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/icon.tokens.json +12 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/link.tokens.json +33 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/list.tokens.json +31 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/page-footer.tokens.json +13 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/page-header.tokens.json +10 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/page.tokens.json +11 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/paragraph.tokens.json +25 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/radio-button.tokens.json +68 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/select.tokens.json +47 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/separator.tokens.json +10 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/skip-link.tokens.json +16 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/spotlight-section.tokens.json +24 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/surface.tokens.json +8 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/table.tokens.json +60 -0
- package/municipalities/vaals-design-tokens/src/component/utrecht/textbox.tokens.json +32 -0
- package/municipalities/vaals-design-tokens/src/config.json +73 -0
- package/municipalities/vaals-design-tokens/src/font/GT-Walsheim-Bold.woff2 +0 -0
- package/municipalities/vaals-design-tokens/src/font/GT-Walsheim-Light.woff2 +0 -0
- package/municipalities/vaals-design-tokens/src/font/GT-Walsheim-Medium.woff2 +0 -0
- package/municipalities/vaals-design-tokens/src/font/GT-Walsheim-Regular.woff2 +0 -0
- package/municipalities/vaals-design-tokens/src/font.scss +31 -0
- package/municipalities/vaals-design-tokens/src/index.scss +8 -0
- package/municipalities/vaals-design-tokens/style-dictionary.config.js +6 -0
- package/package.json +7 -3
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nlds-new
|
|
3
|
+
description: Create a new NL Design System token set for an organisation — extracts branding from website/huisstijlhandboek via Playwright
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Create a new NL Design System token set for: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### Gather required information
|
|
11
|
+
|
|
12
|
+
If `$ARGUMENTS` is empty or does not contain an organisation name, ask:
|
|
13
|
+
|
|
14
|
+
1. **"What is the name of the organisation?"** (required — do not proceed until answered)
|
|
15
|
+
|
|
16
|
+
Once you have the name, ask:
|
|
17
|
+
|
|
18
|
+
2. **"Should I extract the design from the organisation's website, a huisstijlhandboek (style guide), or both?"**
|
|
19
|
+
|
|
20
|
+
If the user says **website** or **both**, look up the most likely website URL (e.g. `https://www.<name>.nl/`) and ask:
|
|
21
|
+
|
|
22
|
+
3. **"Is this the correct website: `<url>`? (or provide the right one)"**
|
|
23
|
+
|
|
24
|
+
If the user says **huisstijlhandboek**, ask:
|
|
25
|
+
|
|
26
|
+
4. **"What is the URL of the huisstijlhandboek?"**
|
|
27
|
+
|
|
28
|
+
If `$ARGUMENTS` already contains a name and URL, confirm both with the user before proceeding.
|
|
29
|
+
|
|
30
|
+
### Derive identifiers
|
|
31
|
+
|
|
32
|
+
From the organisation name:
|
|
33
|
+
|
|
34
|
+
- **slug**: lowercase, spaces replaced with hyphens (e.g. "den-haag", "vng-realisatie")
|
|
35
|
+
- **prefix**: same as slug
|
|
36
|
+
- **fullName**: the proper name (e.g. "Den Haag", "VNG Realisatie")
|
|
37
|
+
- **packageName**: `@nl-design-system-unstable/<slug>-design-tokens`
|
|
38
|
+
- **folderName**: `municipalities/<slug>-design-tokens`
|
|
39
|
+
|
|
40
|
+
### Execute
|
|
41
|
+
|
|
42
|
+
Read the shared reference at `conduction-theme/.claude/commands/nlds-reference.md` and follow it from the top:
|
|
43
|
+
|
|
44
|
+
1. **Extract** — follow the extraction procedure (website and/or huisstijlhandboek as the user requested)
|
|
45
|
+
2. **Create all files** — follow the file creation procedure to create the full token set from scratch
|
|
46
|
+
3. **Update component tokens** — follow the component update mapping to apply extracted values
|
|
47
|
+
4. **Build and test** — follow the build procedure, fix any errors
|
|
48
|
+
5. **Summary** — output the summary as described in the reference
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nlds-update
|
|
3
|
+
description: Update an existing NL Design System token set — re-extracts branding from website/huisstijlhandboek and applies changes
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Update an existing NL Design System token set for: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### Gather required information
|
|
11
|
+
|
|
12
|
+
If `$ARGUMENTS` is empty or does not contain an organisation name, ask:
|
|
13
|
+
|
|
14
|
+
1. **"What is the name of the organisation to update?"** (required — do not proceed until answered)
|
|
15
|
+
|
|
16
|
+
Once you have the name, verify the token set exists at `municipalities/<slug>-design-tokens/`. If it does not exist, tell the user and suggest using `/nlds:new` instead.
|
|
17
|
+
|
|
18
|
+
Then ask:
|
|
19
|
+
|
|
20
|
+
2. **"Should I re-extract the design from the organisation's website, a huisstijlhandboek (style guide), or both?"**
|
|
21
|
+
|
|
22
|
+
If the user says **website** or **both**, look up the website URL from the existing `package.json` (the `"website"` field) and ask:
|
|
23
|
+
|
|
24
|
+
3. **"Is this still the correct website: `<url>`? (or provide the right one)"**
|
|
25
|
+
|
|
26
|
+
If the user says **huisstijlhandboek**, ask:
|
|
27
|
+
|
|
28
|
+
4. **"What is the URL of the huisstijlhandboek?"**
|
|
29
|
+
|
|
30
|
+
### Derive identifiers
|
|
31
|
+
|
|
32
|
+
From the existing token set, read `src/config.json` to get:
|
|
33
|
+
|
|
34
|
+
- **slug**: the `prefix` field
|
|
35
|
+
- **fullName**: the `fullName` field
|
|
36
|
+
- **prefix**: same as slug
|
|
37
|
+
- **packageName**: from `package.json` `name` field
|
|
38
|
+
- **folderName**: `municipalities/<slug>-design-tokens`
|
|
39
|
+
|
|
40
|
+
### Execute
|
|
41
|
+
|
|
42
|
+
Read the shared reference at `conduction-theme/.claude/commands/nlds-reference.md` and follow it, **skipping Part B** (file creation):
|
|
43
|
+
|
|
44
|
+
1. **Extract** (Part A) — follow the extraction procedure (website and/or huisstijlhandboek as the user requested)
|
|
45
|
+
2. **Skip Part B** — files already exist, do not recreate them
|
|
46
|
+
3. **Update component tokens** (Part C) — read existing token files, compare with new extraction data, update only values that changed
|
|
47
|
+
4. **Update brand tokens** — if the extraction reveals new/changed colors or fonts:
|
|
48
|
+
- Update `color.tokens.json` with any new palette entries
|
|
49
|
+
- Update `typography.tokens.json` if the font changed
|
|
50
|
+
- Update `font-size.tokens.json` if sizes changed
|
|
51
|
+
- Download any new font files to `src/font/` and update `font.scss`
|
|
52
|
+
5. **Build and test** (Part D) — follow the build procedure, fix any errors
|
|
53
|
+
6. **Summary** (Part E) — output the summary, highlighting what changed vs the previous version
|
package/.gitattributes
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Auto detect text files and perform LF normalization
|
|
2
|
+
* text=auto
|
|
3
|
+
|
|
4
|
+
# Source code - always use LF
|
|
5
|
+
*.js text eol=lf
|
|
6
|
+
*.jsx text eol=lf
|
|
7
|
+
*.ts text eol=lf
|
|
8
|
+
*.tsx text eol=lf
|
|
9
|
+
*.mjs text eol=lf
|
|
10
|
+
*.cjs text eol=lf
|
|
11
|
+
|
|
12
|
+
# Configuration files - always use LF
|
|
13
|
+
*.json text eol=lf
|
|
14
|
+
*.yml text eol=lf
|
|
15
|
+
*.yaml text eol=lf
|
|
16
|
+
*.toml text eol=lf
|
|
17
|
+
*.xml text eol=lf
|
|
18
|
+
|
|
19
|
+
# Styles - always use LF
|
|
20
|
+
*.css text eol=lf
|
|
21
|
+
*.scss text eol=lf
|
|
22
|
+
*.sass text eol=lf
|
|
23
|
+
*.less text eol=lf
|
|
24
|
+
|
|
25
|
+
# HTML and templates - always use LF
|
|
26
|
+
*.html text eol=lf
|
|
27
|
+
*.htm text eol=lf
|
|
28
|
+
*.svg text eol=lf
|
|
29
|
+
|
|
30
|
+
# Documentation - always use LF
|
|
31
|
+
*.md text eol=lf
|
|
32
|
+
*.txt text eol=lf
|
|
33
|
+
*.rtf text eol=lf
|
|
34
|
+
|
|
35
|
+
# Docker and shell scripts - always use LF
|
|
36
|
+
Dockerfile text eol=lf
|
|
37
|
+
*.dockerfile text eol=lf
|
|
38
|
+
*.sh text eol=lf
|
|
39
|
+
|
|
40
|
+
# Git files - always use LF
|
|
41
|
+
.gitattributes text eol=lf
|
|
42
|
+
.gitignore text eol=lf
|
|
43
|
+
.gitmodules text eol=lf
|
|
44
|
+
|
|
45
|
+
# Windows script files - use CRLF
|
|
46
|
+
*.bat text eol=crlf
|
|
47
|
+
*.cmd text eol=crlf
|
|
48
|
+
*.ps1 text eol=crlf
|
|
49
|
+
|
|
50
|
+
# Binary files - do not modify
|
|
51
|
+
*.png binary
|
|
52
|
+
*.jpg binary
|
|
53
|
+
*.jpeg binary
|
|
54
|
+
*.gif binary
|
|
55
|
+
*.ico binary
|
|
56
|
+
*.webp binary
|
|
57
|
+
*.pdf binary
|
|
58
|
+
*.woff binary
|
|
59
|
+
*.woff2 binary
|
|
60
|
+
*.ttf binary
|
|
61
|
+
*.eot binary
|
|
62
|
+
*.zip binary
|
|
63
|
+
*.gz binary
|
|
64
|
+
*.tar binary
|
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ Conduction's design tokens theme
|
|
|
6
6
|
|
|
7
7
|
- **Version 1.1 (breaking changes from 1.0.x)**
|
|
8
8
|
|
|
9
|
+
- 1.1.63: Updated logo Hof van Twente.
|
|
10
|
+
- 1.1.62: Added Vaals theme.
|
|
9
11
|
- 1.1.61: Updated footer tokens in Almere theme.
|
|
10
12
|
- 1.1.60: Updated Almere theme.
|
|
11
13
|
- Updated font size tokens.
|