Skip to content

Commit

Permalink
feat: Badge and Tag now can be overwritten with the brand tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
agamdaz authored Sep 25, 2023
1 parent 8c5f1b3 commit 8238ae9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions tokens/src/tokens/brand-defaults/components.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"brand": {
"badge": {
"color": {
"text": {
"warning": {
"value": "{alias.color.text.feedback.warning.strong.value}"
}
}
}
},
"decoratorBar": {
"color": {
"background": {
Expand Down Expand Up @@ -195,6 +204,15 @@
}
}
},
"tag": {
"color": {
"text": {
"warning": {
"value": "{alias.color.text.feedback.warning.strong.value}"
}
}
}
},
"dialog": {
"header": {
"color": {
Expand Down
2 changes: 1 addition & 1 deletion tokens/src/tokens/component/feedback/Badge/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
"value": "{alias.color.text.feedback.success.strong.value}"
},
"warning": {
"value": "{alias.color.text.feedback.warning.strong.value}"
"value": "{brand.badge.color.text.warning.value}"
},
"help": {
"value": "{alias.color.text.feedback.help.strong.value}"
Expand Down
2 changes: 1 addition & 1 deletion tokens/src/tokens/component/feedback/Tag/tag.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"value": "{alias.color.text.feedback.success.strong.value}"
},
"warning": {
"value": "{alias.color.text.feedback.warning.strong.value}"
"value": "{brand.tag.color.text.warning.value}"
},
"help": {
"value": "{alias.color.text.feedback.help.strong.value}"
Expand Down

0 comments on commit 8238ae9

Please sign in to comment.