Skip to content

Commit

Permalink
feat(tokens): new tokens for BoxMessage component and its elements
Browse files Browse the repository at this point in the history
  • Loading branch information
soslayando committed Jul 11, 2023
1 parent 16a015b commit f6fe9b5
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tokens/src/tokens/component/feedback/BoxMessage/box-message.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
{
"cmp": {
"boxMessage": {
"shape": {
"borderSize": {
"value": "{alias.shape.borderSize.panel.base.value}"
},
"borderRadius": {
"value": "{alias.shape.borderRadius.md.value}"
}
},
"space": {
"padding": {
"value": "{alias.space.cmp.sm.value}"
},
"gap": {
"value": "{alias.space.cmp.sm.value}"
}
},
"color": {
"background": {
"success": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"cmp": {
"boxMessage": {
"actions": {
"space": {
"marginTop": {
"value": "{alias.space.cmp.sm.value}"
},
"gap": {
"value": "{alias.space.cmp.xs.value}"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"cmp": {
"boxMessage": {
"close": {
"space": {
"offset": {
"top": {
"value": "calc({cmp.boxMessage.space.padding.value} - 0.2rem)"
},
"right": {
"value": "{cmp.boxMessage.space.padding.value}"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cmp": {
"boxMessage": {
"heading": {
"space": {
"marginBottom": {
"value": "{alias.space.cmp.sm.value}"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"value": "{alias.color.background.feedback.info.strong.value}"
}
}
},
"size": {
"square":{
"value": "{alias.typo.fontSize.icon.xs.value}"
}
}
}
}
Expand Down

0 comments on commit f6fe9b5

Please sign in to comment.