Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(design tokens): Form tokens toevoegen #200

Merged
merged 35 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2a06e08
..
AlineNap Aug 26, 2024
1c72142
option radio gestijlt
AlineNap Aug 26, 2024
b8bf06a
push? Blauwe stip
AlineNap Aug 26, 2024
e0f034a
background van radio states gecorricieerd
AlineNap Aug 26, 2024
3cda5d8
checkbox van utrecht gestijlt
AlineNap Aug 26, 2024
b59e789
..
AlineNap Aug 26, 2024
cf6b621
utrecht-form-label component gestijlt
AlineNap Aug 26, 2024
2e294ee
..
AlineNap Aug 26, 2024
89f47c1
..
AlineNap Aug 27, 2024
56e957f
..
AlineNap Aug 29, 2024
f16869e
radio hernoemd naar radio-button
AlineNap Aug 29, 2024
9696a88
utrecht checkbox-tokens geupdate
AlineNap Aug 29, 2024
aac4bf4
textarea tokens en pointersize tokens toegevoegd
AlineNap Sep 2, 2024
9daaba4
...
AlineNap Sep 2, 2024
db1929f
text-input tokens toegevoegd
AlineNap Sep 2, 2024
3119b25
..
AlineNap Sep 2, 2024
c257683
form-field-description tokens toegevoegd
AlineNap Sep 2, 2024
24332b8
...
AlineNap Sep 2, 2024
660042a
..
AlineNap Sep 2, 2024
2f6395d
..
AlineNap Sep 2, 2024
4643511
push
AlineNap Sep 12, 2024
82863f6
..
AlineNap Sep 12, 2024
ede8573
opties toegevoegd
AlineNap Sep 15, 2024
e211411
update
AlineNap Sep 24, 2024
695b73f
utrecht-document tokens toegevoegd, ontbraken in deze branch
AlineNap Sep 24, 2024
34123f2
..
AlineNap Sep 24, 2024
a4b7a23
update
AlineNap Oct 3, 2024
fa975db
push
AlineNap Oct 3, 2024
9c5ed5e
update
AlineNap Oct 3, 2024
a7d3454
update
AlineNap Oct 4, 2024
a5af241
update
AlineNap Oct 7, 2024
bf0f149
push
AlineNap Oct 7, 2024
79036fa
Merge branch 'main' into aline/form-tokens-toevoegen
AlineNap Oct 7, 2024
b10eada
Update $themes.json
AlineNap Oct 7, 2024
aa59fc2
Changeset added
Oct 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/modern-bags-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@lux-design-system/design-tokens": minor
---

In deze commit

- Nieuwe tokens: utrecht common pointer target
- Nieuwe tokens: utrecht component form field
- Nieuwe tokens: utrecht component form field description
- Nieuwe tokens: utrecht component form field error message
- Nieuwe tokens: utrecht component form label
- Nieuwe tokens: utrecht component textarea
- Nieuwe tokens: utrecht component text input
- Wijziging tokens: utrecht component document background-color toegevoegd
15 changes: 11 additions & 4 deletions proprietary/design-tokens/src/imported/$metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,19 @@
"component/link",
"component/paragraph",
"component/icon-logo",
"nl/utrecht-focus",
"nl/utrecht-alert",
"nl/utrecht-button",
"nl/utrecht-link",
"nl/utrecht-heading",
"nl/utrecht-document",
"nl/utrecht-paragraph"
"nl/utrecht-focus",
"nl/utrecht-form-field",
"nl/utrecht-form-field-description",
"nl/utrecht-form-field-error-message",
"nl/utrecht-form-label",
"nl/utrecht-heading",
"nl/utrecht-link",
"nl/utrecht-paragraph",
"nl/utrecht-pointer-target",
"nl/utrecht-textarea",
"nl/utrecht-text-input"
]
}
10 changes: 9 additions & 1 deletion proprietary/design-tokens/src/imported/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,14 @@
"nl/utrecht-button": "enabled",
"nl/utrecht-alert": "enabled",
"nl/utrecht-link": "enabled",
"nl/utrecht-pointer-target": "enabled",
"nl/utrecht-form-field-error-message": "enabled",
"nl/utrecht-form-field-description": "enabled",
"nl/utrecht-text-input": "enabled",
"nl/utrecht-textarea": "enabled",
"nl/utrecht-form-field": "enabled",
"nl/utrecht-form-label": "enabled",
"nl/utrecht-document": "enabled",
"nl/utrecht-heading": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:2536:6472",
Expand Down Expand Up @@ -1056,4 +1064,4 @@
},
"group": "product"
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
"font-size": {
"value": "{lux.font-size.body.default}",
"type": "fontSizes"
},
"background-color": {
"value": "{lux.color.background.default}",
"type": "color"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"utrecht": {
"form-field-description": {
"color": {
"type": "color",
"value": "{lux.color.foreground.subdued}"
},
"font-family": {
"value": "{lux.font-family.primary}",
"type": "fontFamilies"
},
"font-size": {
"value": "{lux.font-size.body.default}",
"type": "fontSizes"
},
"line-height": {
"value": "{lux.line-height.body.default}",
"type": "lineHeights"
},
"invalid": {
"color": {
"value": "{lux.color.foreground.subdued}",
"type": "color",
"description": "Checkvraag dev: bestaat deze echt in code? "
}
},
"valid": {
"color": {
"value": "{lux.color.foreground.subdued}",
"type": "color",
"description": "Checkvraag dev: bestaat deze echt in code? "
}
}
},
"invalid": {
"font-weight": {
"value": "{no-token}",
"type": "fontWeights",
"description": "Controle vraag aan devs: bestaat deze echt in utrecht code?"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"utrecht": {
"form-field-error-message": {
"icon": {
"size": {
"type": "sizing",
"value": "1.5rem"
},
"color": {
"value": "{lux.color.feedback.error.default}",
"type": "color"
}
},
"color": {
"type": "color",
"value": "{lux.color.feedback.error.default}"
},
"font-family": {
"value": "{lux.font-family.primary}",
"type": "fontFamilies"
},
"font-size": {
"value": "{lux.font-size.body.default}",
"type": "fontSizes"
},
"font-weight": {
"value": "{lux.font-weight.regular}",
"type": "fontWeights"
},
"background-color": {
"value": "{lux.color.none}",
"type": "color"
},
"border-radius": {
"value": "{lux.border-radius.default}",
"type": "borderRadius",
"description": "todo token"
},
"padding-block-end": {
"value": "{lux.space.0}",
"type": "spacing"
},
"padding-block-start": {
"value": "{lux.space.0}",
"type": "spacing"
},
"padding-inline-end": {
"value": "{lux.space.0}",
"type": "spacing"
},
"padding-inline-start": {
"value": "{lux.space.0}",
"type": "spacing"
},
"column-gap": {
"value": "{lux.space.100}",
"type": "spacing"
},
"line-height": {
"value": "{lux.line-height.body.default}",
"type": "lineHeights"
},
"border-width": {
"value": "{lux.alert.border-width}",
"type": "borderWidth"
},
"border-color": {
"value": "{lux.color.none}",
"type": "color"
}
},
"alert": {
"icon": {
"inset-block-start": {
"value": "{lux.space.25}",
"type": "spacing"
}
}
}
}
}
20 changes: 20 additions & 0 deletions proprietary/design-tokens/src/imported/nl/utrecht-form-field.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"utrecht": {
"form-field": {
"invalid": {
"border-inline-start-color": {
"value": "{lux.color.none}",
"type": "color"
},
"border-inline-start-width": {
"value": "{lux.border-width.none}",
"type": "borderWidth"
},
"padding-inline-start": {
"value": "{lux.space.0}",
"type": "spacing"
}
}
}
}
}
50 changes: 50 additions & 0 deletions proprietary/design-tokens/src/imported/nl/utrecht-form-label.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"utrecht": {
"form-label": {
"color": {
"value": "{lux.color.foreground.default}",
"type": "color"
},
"font-weight": {
"value": "{lux.font-weight.bold}",
"type": "fontWeights"
},
"font-size": {
"value": "{lux.font-size.body.default}",
"type": "fontSizes"
},
"checkbox": {
"font-weight": {
"value": "{lux.font-weight.bold}",
"type": "fontWeights"
},
"color": {
"value": "{lux.color.foreground.default}",
"type": "color"
}
},
"checked": {
"font-weight": {
"value": "{lux.font-weight.bold}",
"type": "fontWeights"
}
},
"disabled": {
"color": {
"value": "{lux.color.foreground.subdued}",
"type": "color"
}
},
"radio": {
"color": {
"value": "{lux.color.foreground.default}",
"type": "color"
},
"font-weight": {
"value": "{lux.font-weight.bold}",
"type": "fontWeights"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"utrecht": {
"pointer-target": {
"min-size": {
"value": "{lux.size.target}",
"type": "sizing"
}
}
}
}
Loading