Skip to content

Commit

Permalink
💄 open-formulieren/open-forms-sdk#454 -- Add design tokens for editgr…
Browse files Browse the repository at this point in the history
…id component
  • Loading branch information
sergei-maertens committed Oct 19, 2023
1 parent 819e421 commit 5a321c8
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/components/editgrid.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"of": {
"editgrid": {
"$extensions": {
"dte.metadata": {
"groupDescription": "Theming for the editgrid (repeating group) component."
}
},

"line-height": {"value": 1.5},
"gap": {"value": "12p"},

"item": {
"$extensions": {
"dte.metadata": {
"groupDescription": "Tokens for a single item in a repeating group."
}
},

"gap": {"value": "12px"},
"border": {"value": "solid 1px {of.color.border}"},
"padding-block-end": {"value": "24px"},
"padding-block-start": {"value": "24px"},
"padding-inline-end": {"value": "24px"},
"padding-inline-start": {"value": "24px"}
},

"item-heading": {
"$extensions": {
"dte.metadata": {
"groupDescription": "Appearance of item/group legend/heading."
}
},

"font-family": {"value": "{of.typography.sans-serif.font-family}"},
"font-size": {"value": "0.875rem"},
"line-height": {"value": "1.2"},
"margin-block-end": {"value": "24px"}
}
}
}
}

0 comments on commit 5a321c8

Please sign in to comment.