generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add tokens for nl-heading, nl-paragraph, nl-mark, nl-code-block…
…, nl-skip-link, nl-number-badge and nl-data-badge
- Loading branch information
Showing
20 changed files
with
225 additions
and
64 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
proprietary/design-tokens/src/component/nl/code-block.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"nl": { | ||
"code-block": { | ||
"background-color": { "value": "{utrecht.color.grey.95}" }, | ||
"color": { "value": "{utrecht.color.black}" }, | ||
"font-family": { "value": "\"Monaco\"" }, | ||
"font-size": { "value": "{utrecht.typography.scale.md.font-size}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" }, | ||
"padding-block": { "value": "20px" }, | ||
"padding-inline": { "value": "20px" } | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
proprietary/design-tokens/src/component/nl/code.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"nl": { | ||
"code": { | ||
"background-color": {}, | ||
"color": {}, | ||
"font-family": {}, | ||
"font-size": {}, | ||
"line-height": {} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
proprietary/design-tokens/src/component/nl/data-badge.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"nl": { | ||
"data-badge": { | ||
"background-color": { | ||
"value": "{utrecht.color.grey.30}" | ||
}, | ||
"border-radius": { | ||
"value": "0" | ||
}, | ||
"color": { | ||
"value": "{utrecht.color.white}" | ||
}, | ||
"font-weight": {}, | ||
"padding-block": { | ||
"value": "{utrecht.space.block.xs}" | ||
}, | ||
"padding-inline": { | ||
"value": "{utrecht.space.inline.sm}" | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
proprietary/design-tokens/src/component/nl/heading.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"nl": { | ||
"heading": { | ||
"level-1": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.4xl.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.bold.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.sm}" } | ||
}, | ||
"level-2": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.xl.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.bold.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.sm}" } | ||
}, | ||
"level-3": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.xl.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.sm}" } | ||
}, | ||
"level-4": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.lg.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" } | ||
}, | ||
"level-5": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.sm.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" } | ||
}, | ||
"level-6": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.sm.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" } | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"nl": { | ||
"mark": { | ||
"background-color": { "value": "{utrecht.color.yellow.60}" }, | ||
"color": { "value": "{utrecht.color.black}" } | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
proprietary/design-tokens/src/component/nl/number-badge.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"nl": { | ||
"number-badge": { | ||
"background-color": { | ||
"value": "{utrecht.color.red.40}" | ||
}, | ||
"border-radius": { | ||
"value": "{nl.number-badge.font-size}" | ||
}, | ||
"color": { | ||
"value": "{utrecht.color.white}" | ||
}, | ||
"font-size": { "value": "{utrecht.typography.scale.md.font-size}" }, | ||
"font-weight": {}, | ||
"padding-block": { | ||
"value": "1ex" | ||
}, | ||
"padding-inline": { | ||
"value": "1ex" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
proprietary/design-tokens/src/component/nl/paragraph.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"nl": { | ||
"paragraph": { | ||
"color": {}, | ||
"font-family": { "value": "{utrecht.typography.sans-serif.font-family}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.md.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" }, | ||
"lead": { | ||
"color": { "value": "{utrecht.document.color}" }, | ||
"font-size": { "value": "{utrecht.typography.scale.xl.font-size}" }, | ||
"font-weight": { "value": "{utrecht.typography.weight-scale.normal.font-weight}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" } | ||
}, | ||
"small": { | ||
"font-size": { "value": "{utrecht.typography.scale.sm.font-size}" } | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
proprietary/design-tokens/src/component/nl/skip-link.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"nl": { | ||
"skip-link": { | ||
"background-color": { "value": "{utrecht.topnav.list.background-color}" }, | ||
"color": { "value": "{utrecht.topnav.link.color}" }, | ||
"padding-block": { "value": "{utrecht.button.padding-block-start}" }, | ||
"padding-inline": { "value": "{utrecht.button.padding-inline-start}" }, | ||
"text-decoration": { "value": "{utrecht.link.text-decoration}" }, | ||
"focus-visible": { | ||
"color": { "value": "{utrecht.topnav.link.focus.color}" }, | ||
"background-color": { "value": "{utrecht.topnav.link.focus.background-color}" }, | ||
"text-decoration": { "value": "{utrecht.link.focus-visible.text-decoration}" } | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
proprietary/design-tokens/src/component/utrecht/code-block.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"utrecht": { | ||
"code-block": { | ||
"background-color": { "value": "{utrecht.color.grey.95}" }, | ||
"color": { "value": "{utrecht.color.black}" }, | ||
"font-family": {}, | ||
"font-size": { "value": "{utrecht.typography.scale.md.font-size}" }, | ||
"line-height": { "value": "{utrecht.typography.line-height.md}" }, | ||
"background-color": { "value": "{nl.code-block.background-color}" }, | ||
"color": { "value": "{nl.code-block.color}" }, | ||
"font-family": { "value": "{nl.code-block.font-family}" }, | ||
"font-size": { "value": "{nl.code-block.font-size}" }, | ||
"line-height": { "value": "{nl.code-block.line-height}" }, | ||
"margin-block-end": { "value": "{utrecht.space.block.lg}" }, | ||
"margin-block-start": { "value": "{utrecht.space.block.lg}" }, | ||
"margin-inline-end": {}, | ||
"margin-inline-start": {}, | ||
"padding-block-end": { "value": "20px" }, | ||
"padding-block-start": { "value": "20px" }, | ||
"padding-inline-end": { "value": "20px" }, | ||
"padding-inline-start": { "value": "20px" } | ||
"padding-block-end": { "value": "{nl.code-block.padding-block}" }, | ||
"padding-block-start": { "value": "{nl.code-block.padding-block}" }, | ||
"padding-inline-end": { "value": "{nl.code-block.padding-inline}" }, | ||
"padding-inline-start": { "value": "{nl.code-block.padding-inline}" } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
proprietary/design-tokens/src/component/utrecht/mark.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"utrecht": { | ||
"mark": { | ||
"background-color": { "value": "{utrecht.color.yellow.60}" }, | ||
"color": { "value": "{utrecht.color.black}" } | ||
"background-color": { "value": "{nl.mark.background-color}" }, | ||
"color": { "value": "{nl.mark.color}" } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.