generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(design-tokens): add Radio group tokens
- Loading branch information
Showing
7 changed files
with
228 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@lux-design-system/design-tokens": minor | ||
--- | ||
|
||
Nieuwe tokens: Radio group | ||
Nieuwe tokens: Utrecht Form label | ||
Nieuwe tokens: Utrecht radio button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
proprietary/design-tokens/src/imported/component/radio-group.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"lux": { | ||
"radio-group": { | ||
"padding-block-start": { | ||
"value": "{lux.space.0}", | ||
"type": "spacing" | ||
}, | ||
"padding-block-end": { | ||
"value": "{lux.space.0}", | ||
"type": "spacing" | ||
}, | ||
"row-gap": { | ||
"value": "{lux.space.100}", | ||
"type": "spacing" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
198 changes: 198 additions & 0 deletions
198
proprietary/design-tokens/src/imported/nl/utrecht-radio-button.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,198 @@ | ||
{ | ||
"utrecht": { | ||
"radio-button": { | ||
"border-width": { | ||
"value": "0.094rem", | ||
"type": "borderWidth" | ||
}, | ||
"size": { | ||
"value": "1.125rem", | ||
"type": "sizing" | ||
}, | ||
"icon": { | ||
"size": { | ||
"value": "0.625rem", | ||
"type": "sizing" | ||
} | ||
}, | ||
"background-color": { | ||
"value": "{lux.color.background.default}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{utrecht.radio-button.border-color}", | ||
"type": "color" | ||
}, | ||
"invalid": { | ||
"background-color": { | ||
"value": "{lux.alert.error.background-color}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.feedback.error.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{utrecht.radio-button.invalid.border-color}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "{utrecht.radio-button.border-width}", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"hover": { | ||
"background-color": { | ||
"value": "{lux.color.background.default}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{utrecht.radio-button.hover.border-color}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "0.125rem", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"active": { | ||
"background-color": { | ||
"value": "{lux.color.background.default}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{utrecht.radio-button.active.border-color}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "{utrecht.radio-button.border-width}", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"disabled": { | ||
"background-color": { | ||
"value": "{lux.color.canvas}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.border.subdued}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{lux.color.border.subdued}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "{utrecht.radio-button.border-width}", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"focus": { | ||
"background-color": { | ||
"value": "{utrecht.radio-button.background-color}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{utrecht.radio-button.border-color}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{utrecht.radio-button.focus.border-color}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "0.125rem", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"checked": { | ||
"background-color": { | ||
"value": "{lux.color.background.default}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"hover": { | ||
"background-color": { | ||
"value": "{lux.color.background.default}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "0.125rem", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"active": { | ||
"background-color": { | ||
"value": "{lux.color.background.default}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{lux.color.foreground.default}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "{utrecht.radio-button.border-width}", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"focus": { | ||
"background-color": { | ||
"value": "{utrecht.radio-button.checked.background-color}", | ||
"type": "color" | ||
}, | ||
"border-color": { | ||
"value": "{utrecht.radio-button.checked.border-color}", | ||
"type": "color" | ||
}, | ||
"color": { | ||
"value": "{utrecht.radio-button.checked.color}", | ||
"type": "color" | ||
}, | ||
"border-width": { | ||
"value": "0.125rem", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"border-width": { | ||
"value": "{utrecht.radio-button.border-width}", | ||
"type": "borderWidth" | ||
} | ||
}, | ||
"margin-inline-end": { | ||
"value": "{lux.space.100}", | ||
"type": "spacing" | ||
} | ||
} | ||
} | ||
} |