Skip to content

Commit

Permalink
✨ [open-formulieren/open-forms-sdk#471] Add utrecht-data-list design …
Browse files Browse the repository at this point in the history
…tokens + OF extensions
  • Loading branch information
sergei-maertens committed Jan 2, 2024
1 parent 3263904 commit ce61470
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
11 changes: 10 additions & 1 deletion src/community/utrecht/data-list.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"},
"item-key": {
"font-weight": {"value": 700}
"color": {"value": "{of.color.fg}"},
"font-size": {"value": "1rem"},
"font-weight": {"value": 700},
"line-height": {"value": "1.5"}
},
"item-value": {
"color": {"value": "{of.color.fg}"},
"font-size": {"value": "1rem"},
"font-weight": {"value": 400},
"line-height": {"value": "1.5"}
},
"rows": {
"column": {
Expand Down
3 changes: 2 additions & 1 deletion src/components/summary-row/summary-row.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"of": {
"summary-row": {
"spacing": {
"value": "10px"
"value": "10px",
"comment": "DEPRECATED"
}
}
}
Expand Down
30 changes: 30 additions & 0 deletions src/components/summary.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"of": {
"summary": {
"step-name": {
"font-size": {"value": "{utrecht.heading-3.font-size}"},
"line-height": {"value": "1.17"}
},
"header": {
"border-block-end-color": {"value": "{of.color.border}"},
"border-block-end-style": {"value": "solid"},
"border-block-end-width": {"value": "1px"},
"padding-block-end": {"value": "12p"},
"mobile": {
"row-gap": {"value": "8px"}
}
}
},
"utrecht-data-list": {
"padding-block-end": {"value": "20px"},
"item-key": {
"laptop": {
"font-weight": {"value": "400"}
}
},
"laptop": {
"display": {"value": "flex"}
}
}
}
}

0 comments on commit ce61470

Please sign in to comment.