-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tokens): new tokens for BoxMessage component and its elements
- Loading branch information
1 parent
16a015b
commit f6fe9b5
Showing
5 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
tokens/src/tokens/component/feedback/BoxMessage/box-message.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
16 changes: 16 additions & 0 deletions
16
tokens/src/tokens/component/feedback/BoxMessage/box-message__actions.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 @@ | ||
{ | ||
"cmp": { | ||
"boxMessage": { | ||
"actions": { | ||
"space": { | ||
"marginTop": { | ||
"value": "{alias.space.cmp.sm.value}" | ||
}, | ||
"gap": { | ||
"value": "{alias.space.cmp.xs.value}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
tokens/src/tokens/component/feedback/BoxMessage/box-message__close.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,18 @@ | ||
{ | ||
"cmp": { | ||
"boxMessage": { | ||
"close": { | ||
"space": { | ||
"offset": { | ||
"top": { | ||
"value": "calc({cmp.boxMessage.space.padding.value} - 0.2rem)" | ||
}, | ||
"right": { | ||
"value": "{cmp.boxMessage.space.padding.value}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
tokens/src/tokens/component/feedback/BoxMessage/box-message__heading.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 @@ | ||
{ | ||
"cmp": { | ||
"boxMessage": { | ||
"heading": { | ||
"space": { | ||
"marginBottom": { | ||
"value": "{alias.space.cmp.sm.value}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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