Skip to content

Commit

Permalink
fix(fuselage-tokens): incorrect color tokens on Button's success vari…
Browse files Browse the repository at this point in the history
…ant (#1471)

Co-authored-by: Júlia Jaeger Foresti <[email protected]>
  • Loading branch information
aleksandernsilva and juliajforesti authored Oct 25, 2024
1 parent 86fe018 commit 0b4e37a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/stupid-eagles-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage-tokens": patch
---

fix(fuselage-tokens): incorrect color tokens on Button's success variant
12 changes: 6 additions & 6 deletions packages/fuselage-tokens/src/button/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"fontOnDanger": { "value": "{colors.white}" },
"fontOnDangerDisabled": { "value": "{colors.white}" },

"backgroundSuccessDefault": { "value": "{colors.g500}" },
"backgroundSuccessHover": { "value": "{colors.g600}" },
"backgroundSuccessPress": { "value": "{colors.g700}" },
"backgroundSuccessFocus": { "value": "{colors.g500}" },
"backgroundSuccessKeyfocus": { "value": "{colors.g500}" },
"backgroundSuccessDefault": { "value": "{colors.g800}" },
"backgroundSuccessHover": { "value": "{colors.g900}" },
"backgroundSuccessPress": { "value": "{colors.g1000}" },
"backgroundSuccessFocus": { "value": "{colors.g800}" },
"backgroundSuccessKeyfocus": { "value": "{colors.g800}" },
"backgroundSuccessDisabled": { "value": "{colors.g200}" },
"fontOnSuccess": { "value": "{colors.n900}" },
"fontOnSuccess": { "value": "{colors.white}" },
"fontOnSuccessDisabled": { "value": "{colors.white}" }
},
"high-contrast": {
Expand Down

0 comments on commit 0b4e37a

Please sign in to comment.