From ef3e73ac25fd341f6fa441512752854892e290a6 Mon Sep 17 00:00:00 2001 From: Aleksander Nicacio da Silva Date: Wed, 23 Oct 2024 16:41:12 -0300 Subject: [PATCH 1/3] fix(fuselage-tokens): button success variant incorrect color tokens --- packages/fuselage-tokens/src/button/base.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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": { From f55ad46df3b6bef27d7f09d588916d40a1726e96 Mon Sep 17 00:00:00 2001 From: Aleksander Nicacio da Silva Date: Wed, 23 Oct 2024 16:41:39 -0300 Subject: [PATCH 2/3] chore(fuselage-tokens): changeset --- .changeset/stupid-eagles-destroy.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/stupid-eagles-destroy.md diff --git a/.changeset/stupid-eagles-destroy.md b/.changeset/stupid-eagles-destroy.md new file mode 100644 index 0000000000..3c2107e38a --- /dev/null +++ b/.changeset/stupid-eagles-destroy.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage-tokens": patch +--- + +Fixes Button's success variant, which was using incorrect color tokens. From a4586be55354610d653654f442359a89ee93cf98 Mon Sep 17 00:00:00 2001 From: Aleksander Nicacio da Silva Date: Wed, 23 Oct 2024 18:33:42 -0300 Subject: [PATCH 3/3] chore: adjusted changeset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: JĂșlia Jaeger Foresti <60678893+juliajforesti@users.noreply.github.com> --- .changeset/stupid-eagles-destroy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/stupid-eagles-destroy.md b/.changeset/stupid-eagles-destroy.md index 3c2107e38a..bff8b93b1d 100644 --- a/.changeset/stupid-eagles-destroy.md +++ b/.changeset/stupid-eagles-destroy.md @@ -2,4 +2,4 @@ "@rocket.chat/fuselage-tokens": patch --- -Fixes Button's success variant, which was using incorrect color tokens. +fix(fuselage-tokens): incorrect color tokens on Button's success variant