Skip to content
Draft
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
66 changes: 66 additions & 0 deletions src/community/nl/heading.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"nl": {
"heading": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-weight": {"value": "bold"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"}
},
"level-1": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-size": {"value": "2rem"},
"font-weight": {"value": "bold"},
"line-height": {"value": "1.28125"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "2.5rem"}
},
"level-2": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-size": {"value": "1.5rem"},
"font-weight": {"value": "bold"},
"letter-spacing": {"value": "normal"},
"line-height": {"value": "1.4167"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"}
},
"level-3": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-size": {"value": "1.25rem"},
"font-weight": {"value": "bold"},
"line-height": {"value": "1.5"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"}
},
"level-4": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-size": {"value": "1rem"},
"font-weight": {"value": "bold"},
"line-height": {"value": "1.625"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"}
},
"level-5": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-size": {"value": "0.875rem"},
"font-weight": {"value": "bold"},
"line-height": {"value": "1.7143"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"}
},
"level-6": {
"color": {"value": "{oip.color.fg-heading}"},
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-size": {"value": "0.75rem"},
"font-weight": {"value": "bold"},
"line-height": {"value": "1.6667"},
"margin-block-end": {"value": "0"},
"margin-block-start": {"value": "0"}
}
}
}
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"
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/community/utrecht/fieldset.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"legend": {
"color": {"value": "{oip.color.fg-lighter}"},
"font-family": {"value": "{oip.typography.sans-serif.font-family}"},
"font-size": {"value": "{utrecht.paragraph.small.font-size}"},
"font-size": {"value": "{nl.paragraph.font-size}"},
"font-weight": {"value": "normal"},
"line-height": {"value": "21px"},
"margin-block-end": {"value": "0"},
Expand Down
1 change: 1 addition & 0 deletions src/community/utrecht/heading.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"utrecht": {
"heading": {
"color": {"value": "{oip.color.fg-heading}"},
"comment": "TODO: remove these Utrecht heading community legacy tokens when Candidate is implemented.",
"font-family": {"value": "{oip.typography.heading.font-family}"},
"font-weight": {"value": "bold"},
"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: This modifier can be removed in future.",
"text-align": {"value": "center"}
},
"compact": {
"comment": "TODO: This modifier can be removed in future.",
"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": "0.875rem"}
}
}
}
}
3 changes: 3 additions & 0 deletions style-dictionary.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"log": {
"verbosity": "verbose"
},
"source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
"platforms": {
"css": {
Expand Down
Loading