diff --git a/.changeset/stupid-eagles-destroy.md b/.changeset/stupid-eagles-destroy.md new file mode 100644 index 0000000000..bff8b93b1d --- /dev/null +++ b/.changeset/stupid-eagles-destroy.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage-tokens": patch +--- + +fix(fuselage-tokens): incorrect color tokens on Button's success variant diff --git a/packages/fuselage-tokens/src/button/base.json b/packages/fuselage-tokens/src/button/base.json index fd1e2c66fa..d7ae8efa76 100644 --- a/packages/fuselage-tokens/src/button/base.json +++ b/packages/fuselage-tokens/src/button/base.json @@ -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": {