Skip to content

Commit

Permalink
Add tokens for badge background and text.
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanConnor committed Mar 5, 2025
1 parent 993d2c6 commit 61c3613
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tokens/theme-semantics.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@
"type": "color",
"description": "Decorative text colour (6, Orange) for avatars and usernames."
}
},
"badge": {
"accent": {
"value": "{color.green.1100}",
"type": "color",
"description": "Badge accent text colour"
},
"info": {
"value": "{color.blue.1100}",
"type": "color",
"description": "Badge info text colour"
}
}
},
"bg": {
Expand Down Expand Up @@ -244,6 +256,18 @@
"type": "color",
"description": "Background colour for accent or brand actions. State: Pressed"
}
},
"badge": {
"accent": {
"value": "{color.alpha.green.300}",
"type": "color",
"description": "Badge accent background colour"
},
"info": {
"value": "{color.alpha.blue.300}",
"type": "color",
"description": "Badge info background colour"
}
}
},
"border": {
Expand Down

0 comments on commit 61c3613

Please sign in to comment.