Skip to content

Commit

Permalink
feat: new tokens for form components
Browse files Browse the repository at this point in the history
  • Loading branch information
soslayando committed Oct 10, 2024
1 parent 2f45a89 commit b5f10ff
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tokens/src/tokens/component/form/InputControl/input-control.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,28 @@
}
},
"elevation": {
"boxShadow": {
"base": {
"focused": {
"value": "{alias.elevation.boxShadow.base.focused.value}"
}
},
"error": {
"focused": {
"value": "{alias.elevation.boxShadow.error.focused.value}"
}
},
"success": {
"focused": {
"value": "{alias.elevation.boxShadow.success.focused.value}"
}
},
"warning": {
"focused": {
"value": "{alias.elevation.boxShadow.warning.focused.value}"
}
}
},
"zIndex": {
"addonToRight": {
"value": 1
Expand Down
11 changes: 11 additions & 0 deletions tokens/src/tokens/component/form/SelectControl/select-control.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,17 @@
},
"space": {
"padding": {
"hor": {
"sm": {
"value": "{alias.fields.space.padding.hor.sm.value}"
},
"md": {
"value": "{alias.fields.space.padding.hor.md.value}"
},
"lg": {
"value": "{alias.fields.space.padding.hor.lg.value}"
}
},
"scroll": {
"value": "{alias.space.cmp.xs.value}"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,28 @@
"addonToRight": {
"value": 1
}
},
"boxShadow": {
"base": {
"focused": {
"value": "{alias.elevation.boxShadow.base.focused.value}"
}
},
"error": {
"focused": {
"value": "{alias.elevation.boxShadow.error.focused.value}"
}
},
"success": {
"focused": {
"value": "{alias.elevation.boxShadow.success.focused.value}"
}
},
"warning": {
"focused": {
"value": "{alias.elevation.boxShadow.warning.focused.value}"
}
}
}
},
"mutation": {
Expand Down

0 comments on commit b5f10ff

Please sign in to comment.