Skip to content

Commit

Permalink
feat: add Listbox tokens to Purmerend theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Dec 23, 2024
1 parent c43a637 commit ff46c89
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chatty-guests-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nl-design-system-community/purmerend-design-tokens": minor
---

Add Listbox tokens to Purmerend theme.
133 changes: 132 additions & 1 deletion proprietary/purmerend-design-tokens/figma/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2697,6 +2697,136 @@
}
}
},
"components/listbox": {
"utrecht": {
"listbox": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.background-color}"
},
"border-color": {
"$type": "color",
"$value": "{utrecht.form-control.border-color}"
},
"border-radius": {
"$type": "borderRadius",
"$value": "{utrecht.form-control.border-radius}"
},
"border-width": {
"$type": "borderWidth",
"$value": "{utrecht.form-control.border-width}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.color}"
},
"padding-block-end": {
"$type": "spacing",
"$value": "0"
},
"padding-block-start": {
"$type": "spacing",
"$value": "0"
},
"padding-inline-end": {
"$type": "spacing",
"$value": "0"
},
"padding-inline-start": {
"$type": "spacing",
"$value": "0"
},
"hover": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.background-color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.color}"
}
},
"option": {
"padding-block-end": {
"$type": "spacing",
"$value": "{basis.space.block.small}"
},
"padding-block-start": {
"$type": "spacing",
"$value": "{basis.space.block.small}"
},
"padding-inline-end": {
"$type": "spacing",
"$value": "{basis.space.inline.small}"
},
"padding-inline-start": {
"$type": "spacing",
"$value": "{basis.space.inline.small}"
},
"is-active": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.background-color}"
}
},
"active": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.background-color}"
}
},
"disabled": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.disabled.background-color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.disabled.color}"
}
},
"selected": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.background-color}"
},
"disabled": {
"background-color": {
"$type": "color",
"$value": "{utrecht.form-control.disabled.color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.form-control.disabled.background-color}"
}
},
"hover": {
"background-color": {
"$type": "color",
"$value": "{utrecht.listbox.option.selected.color}"
},
"color": {
"$type": "color",
"$value": "{utrecht.listbox.option.selected.background-color}"
}
}
}
}
}
}
},
"$themes": [],
"$metadata": {
"tokenSetOrder": [
Expand Down Expand Up @@ -2751,7 +2881,8 @@
"components/textarea",
"components/textbox",
"components/toolbar-button",
"components/unordered-list"
"components/unordered-list",
"components/listbox"
]
}
}

0 comments on commit ff46c89

Please sign in to comment.