Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-inwoner/design-tokens",
"version": "0.0.28",
"version": "0.0.29",
"description": "Design tokens for Open Inwoner",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
3 changes: 3 additions & 0 deletions src/brand/openinwoner/typography.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"big": {
"font-size": {"value": "24px"}
},
"small": {
"font-size": {"value": "0.875rem"}
},
"line-height": {"value": "24px"}
},
"typography": {
Expand Down
44 changes: 44 additions & 0 deletions src/community/nl/paragraph.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"nl": {
"paragraph": {
"color": {
"value": "{oip.color.fg}"
},
"font-family": {
"value": "{oip.typography.sans-serif.font-family}"
},
"font-size": {
"value": "{oip.text.font-size}"
},
"font-weight": {
"value": "normal"
},
"line-height": {
"value": "1.5"
},
"margin-block-end": {
"value": "0"
},
"margin-block-start": {
"value": "0"
},
"lead": {
"font-size": {
"value": "1.25rem"
},
"font-weight": {
"value": "normal"
},
"line-height": {
"value": "1.4286"
},
"margin-block-end": {
"value": "0"
},
"margin-block-start": {
"value": "0"
}
}
}
}
}
3 changes: 2 additions & 1 deletion src/community/utrecht/fieldset.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
},
"legend": {
"color": {"value": "{oip.color.fg-lighter}"},
"comment": "Utrecht paragraph--small will become deprecated and smaller texts should point to 'basis.text.font-size.sm' when Basis tokens become available.",
"font-family": {"value": "{oip.typography.sans-serif.font-family}"},
"font-size": {"value": "{utrecht.paragraph.small.font-size}"},
"font-size": {"value": "{oip.text.small.font-size}"},
"font-weight": {"value": "normal"},
"line-height": {"value": "21px"},
"margin-block-end": {"value": "0"},
Expand Down
2 changes: 2 additions & 0 deletions src/community/utrecht/paragraph.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"utrecht": {
"paragraph": {
"color": {"value": "{oip.color.fg}"},
"comment": "TODO: remove these Utrecht paragraph community legacy tokens when Candidate is implemented.",
"font-family": {"value": "{oip.typography.sans-serif.font-family}"},
"font-size": {"value": "{oip.text.font-size}"},
"font-weight": {"value": "normal"},
Expand All @@ -10,6 +11,7 @@
"margin-block-start": {"value": "0"},
"small": {
"color": {"value": "rgba(75,75,75,0.9)"},
"comment": "Utrecht paragraph--small will become deprecated and should point to 'basis.text.font-size.sm' when Basis tokens become available.",
"font-family": {"value": "{oip.typography.sans-serif.font-family}"},
"font-weight": {"value": "normal"},
"font-size": {"value": "14px"},
Expand Down
11 changes: 11 additions & 0 deletions src/components/paragraph-modifiers.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@
"color": {"value": "{oip.color.fg-muted}"}
},
"centered": {
"comment": "TODO: modifier may be removed in future, or added to the shadow DOM.",
"text-align": {"value": "center"}
},
"compact": {
"comment": "TODO: modifier may be removed in future, or added to the shadow DOM.",
"margin-bottom": {"value": "0 !important"},
"margin-top": {"value": "0 !important"}
}
},
"nl-paragraph": {
"muted": {
"color": {"value": "{oip.color.fg-muted}"}
},
"small": {
"comment": "TODO: When Basis tokens become available, this should point to 'basis.text.font-size.sm'.",
"font-size": {"value": "{oip.text.small.font-size}"}
}
}
}
}
Loading