Skip to content

Commit

Permalink
feat: font-weight design token for document component
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Oct 4, 2021
1 parent dd93855 commit 0862d20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions components/document/bem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
color: var(--utrecht-document-color, inherit);
font-family: var(--utrecht-document-font-family, inherit);
font-size: var(--utrecht-document-font-size, inherit);
-moz-osx-font-smoothing: auto;
-webkit-font-smoothing: auto;
font-weight: var(--utrecht-document-font-weight, inherit);
line-height: var(--utrecht-document-line-height, inherit);
}
6 changes: 6 additions & 0 deletions components/document/block.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"inherits": true
}
},
"font-weight": {
"css": {
"syntax": "<length>",
"inherits": true
}
},
"line-height": {
"css": {
"syntax": "<length>",
Expand Down

0 comments on commit 0862d20

Please sign in to comment.