Skip to content

Commit

Permalink
feat: design token for form field width
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Oct 4, 2021
1 parent 42d648a commit 73ff511
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/form-field/bem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

.utrecht-form-field {
font-family: var(--utrecht-document-font-family, inherit);
max-inline-size: var(--utrecht-form-field-max-inline-size);
}

.utrecht-form-field--distanced {
Expand Down
6 changes: 6 additions & 0 deletions components/form-field/block.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"syntax": "<length>",
"inherits": true
}
},
"max-inline-size": {
"css": {
"syntax": "<length>",
"inherits": true
}
}
}
}
Expand Down

0 comments on commit 73ff511

Please sign in to comment.