From 2536cc11c3f2ff594f2d32bcd496c24dff493ac8 Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Fri, 8 Sep 2023 14:28:12 -0300 Subject: [PATCH 1/2] chore: color contrast changes --- ee/packages/ui-theming/src/paletteDark.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ee/packages/ui-theming/src/paletteDark.ts b/ee/packages/ui-theming/src/paletteDark.ts index 545fc9f098b8..9898c7fe95f9 100644 --- a/ee/packages/ui-theming/src/paletteDark.ts +++ b/ee/packages/ui-theming/src/paletteDark.ts @@ -120,12 +120,12 @@ export const palette = [ category: 'Button', description: 'Primary Background', list: [ - { name: 'button-background-primary-default', token: '', color: '#3976D1' }, - { name: 'button-background-primary-hover', token: '', color: '#295EAE' }, - { name: 'button-background-primary-press', token: '', color: '#245399' }, - { name: 'button-background-primary-focus', token: '', color: '#3976D1' }, - { name: 'button-background-primary-keyfocus', token: '', color: '#3976D1' }, - { name: 'button-background-primary-disabled', token: '', color: '#1D3963' }, + { name: 'button-background-primary-default', token: '', color: '#095AD2' }, + { name: 'button-background-primary-hover', token: '', color: '#10529E' }, + { name: 'button-background-primary-press', token: '', color: '#01336B' }, + { name: 'button-background-primary-focus', token: '', color: '#095AD2' }, + { name: 'button-background-primary-keyfocus', token: '', color: '#095AD2' }, + { name: 'button-background-primary-disabled', token: '', color: '#012247' }, ], }, { @@ -177,7 +177,7 @@ export const palette = [ list: [ { name: 'button-font-on-primary', token: 'white', color: '#FFFFFF' }, { name: 'button-font-on-secondary', token: 'N400', color: '#E4E7EA' }, - { name: 'button-font-on-secondary-danger', token: '', color: '#C14454' }, + { name: 'button-font-on-secondary-danger', token: '', color: '#FFC1C9' }, { name: 'button-font-on-danger', token: 'white', color: '#FFFFFF' }, { name: 'button-font-on-success', token: 'white', color: '#FFFFFF' }, { name: 'button-font-on-primary-disabled', token: 'N700', color: '#6C727A' }, @@ -185,7 +185,7 @@ export const palette = [ { name: 'button-font-on-secondary-danger-disabled', token: '', - color: '#613339', + color: '#6B0513', }, { name: 'button-font-on-danger-disabled', token: '', color: '#757575' }, { name: 'button-font-on-success-disabled', token: '', color: '#757575' }, From 2788e9f334f230a61267d28d38445b5c31a1853b Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Fri, 8 Sep 2023 15:55:36 -0300 Subject: [PATCH 2/2] chore: update fuselage --- yarn.lock | 76 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 66 insertions(+), 10 deletions(-) diff --git a/yarn.lock b/yarn.lock index 36f1aba8d8ae..cefc40979612 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7928,6 +7928,19 @@ __metadata: languageName: node linkType: hard +"@rocket.chat/css-in-js@npm:~0.31.26-dev.21": + version: 0.31.26-dev.21 + resolution: "@rocket.chat/css-in-js@npm:0.31.26-dev.21" + dependencies: + "@emotion/hash": ^0.9.0 + "@rocket.chat/css-supports": ~0.31.26-dev.21 + "@rocket.chat/memo": ~0.31.26-dev.21 + "@rocket.chat/stylis-logical-props-middleware": ~0.31.26-dev.21 + stylis: ~4.1.3 + checksum: 8bf4c96f0406e773cd96d2641e96fd013a0bde9f9ad39eb32f747d59fa73bbcaa879ba274d21b30bf4a4e3d914948f9c35b6f598b89559e74e0a8ad97b503c14 + languageName: node + linkType: hard + "@rocket.chat/css-supports@npm:~0.31.26-dev.19": version: 0.31.26-dev.19 resolution: "@rocket.chat/css-supports@npm:0.31.26-dev.19" @@ -7937,6 +7950,15 @@ __metadata: languageName: node linkType: hard +"@rocket.chat/css-supports@npm:~0.31.26-dev.21": + version: 0.31.26-dev.21 + resolution: "@rocket.chat/css-supports@npm:0.31.26-dev.21" + dependencies: + "@rocket.chat/memo": ~0.31.26-dev.21 + checksum: 53be1a5f50d82772cacc787c16e5922903383e728b9f6942b9840c50b2b2bc01fb5fef2444c53ae1e44e000ff9953798d01206b86fa71c58e9d5abae10b4e6c6 + languageName: node + linkType: hard + "@rocket.chat/ddp-client@workspace:^, @rocket.chat/ddp-client@workspace:ee/packages/ddp-client": version: 0.0.0-use.local resolution: "@rocket.chat/ddp-client@workspace:ee/packages/ddp-client" @@ -8142,13 +8164,20 @@ __metadata: languageName: node linkType: hard -"@rocket.chat/fuselage-tokens@npm:next, @rocket.chat/fuselage-tokens@npm:~0.32.0-dev.379": +"@rocket.chat/fuselage-tokens@npm:next": version: 0.32.0-dev.379 resolution: "@rocket.chat/fuselage-tokens@npm:0.32.0-dev.379" checksum: c5cf40295c4ae1a5918651b9e156629d6400d5823b8cf5f81a14c66da986a9302d79392b45e991c2fc37aad9633f3d8e2f7f29c68969592340b05968265244e6 languageName: node linkType: hard +"@rocket.chat/fuselage-tokens@npm:~0.32.0-dev.381": + version: 0.32.0-dev.381 + resolution: "@rocket.chat/fuselage-tokens@npm:0.32.0-dev.381" + checksum: 5b8231518760b5e19fd23cc9574aa408d745dfccae217bba29a506e36c9375e0d7dafbcb9efc8f5fbdbf20a384fc4b9a386b0acb828e51095657469dbd933a7d + languageName: node + linkType: hard + "@rocket.chat/fuselage-ui-kit@workspace:^, @rocket.chat/fuselage-ui-kit@workspace:packages/fuselage-ui-kit, @rocket.chat/fuselage-ui-kit@workspace:~": version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-ui-kit@workspace:packages/fuselage-ui-kit" @@ -8205,14 +8234,14 @@ __metadata: linkType: soft "@rocket.chat/fuselage@npm:next": - version: 0.32.0-dev.429 - resolution: "@rocket.chat/fuselage@npm:0.32.0-dev.429" - dependencies: - "@rocket.chat/css-in-js": ~0.31.26-dev.19 - "@rocket.chat/css-supports": ~0.31.26-dev.19 - "@rocket.chat/fuselage-tokens": ~0.32.0-dev.379 - "@rocket.chat/memo": ~0.31.26-dev.19 - "@rocket.chat/styled": ~0.31.26-dev.19 + version: 0.32.0-dev.431 + resolution: "@rocket.chat/fuselage@npm:0.32.0-dev.431" + dependencies: + "@rocket.chat/css-in-js": ~0.31.26-dev.21 + "@rocket.chat/css-supports": ~0.31.26-dev.21 + "@rocket.chat/fuselage-tokens": ~0.32.0-dev.381 + "@rocket.chat/memo": ~0.31.26-dev.21 + "@rocket.chat/styled": ~0.31.26-dev.21 invariant: ^2.2.4 react-aria: ~3.23.1 react-keyed-flatten-children: ^1.3.0 @@ -8224,7 +8253,7 @@ __metadata: react: ^17.0.2 react-dom: ^17.0.2 react-virtuoso: 1.2.4 - checksum: 13ea95dea15c3677f82ffeb50780bc3479512cba6e226080bf464cf876794ed267db3419c45f63ddeaaff6a3401426ca4722e23e0f3586ca4f8eb2e6e25a7a70 + checksum: a1b14db5d9de5c71763c63263a504673acf53bf02ffe6a2173ce3032f3649060fe4c2e60b73c91a8af12920cc438cd170008a128226dded797ce70c264b2e8ef languageName: node linkType: hard @@ -8482,6 +8511,13 @@ __metadata: languageName: node linkType: hard +"@rocket.chat/memo@npm:~0.31.26-dev.21": + version: 0.31.26-dev.21 + resolution: "@rocket.chat/memo@npm:0.31.26-dev.21" + checksum: 4a37eb2566c5c05a35557a917b2213fb988231c3746cc2d627f61279d66fd9a8d3e751ec01dd9d60f797bbbc77fe8cc03da688a788e2e87560d39bef8033ef82 + languageName: node + linkType: hard + "@rocket.chat/message-parser@npm:next": version: 0.32.0-dev.377 resolution: "@rocket.chat/message-parser@npm:0.32.0-dev.377" @@ -9312,6 +9348,15 @@ __metadata: languageName: node linkType: hard +"@rocket.chat/styled@npm:~0.31.26-dev.21": + version: 0.31.26-dev.21 + resolution: "@rocket.chat/styled@npm:0.31.26-dev.21" + dependencies: + "@rocket.chat/css-in-js": ~0.31.26-dev.21 + checksum: 501b494cfb3904a7ca21375c873bda93cf35d898f2bd522f84fdb1a2e6656d86e09e7563175661db702adb0d133b8f104f3d054f92522aa131143612b667d187 + languageName: node + linkType: hard + "@rocket.chat/stylis-logical-props-middleware@npm:~0.31.26-dev.19": version: 0.31.26-dev.19 resolution: "@rocket.chat/stylis-logical-props-middleware@npm:0.31.26-dev.19" @@ -9323,6 +9368,17 @@ __metadata: languageName: node linkType: hard +"@rocket.chat/stylis-logical-props-middleware@npm:~0.31.26-dev.21": + version: 0.31.26-dev.21 + resolution: "@rocket.chat/stylis-logical-props-middleware@npm:0.31.26-dev.21" + dependencies: + "@rocket.chat/css-supports": ~0.31.26-dev.21 + peerDependencies: + stylis: 4.0.10 + checksum: 1f004102bb65b549e053e387c132fe42651348de82a1f573d9193e6e883997da673f1daca34c766e4060279d51209fd309f19d91ae0d56d73b6059b0985e8839 + languageName: node + linkType: hard + "@rocket.chat/tools@workspace:^, @rocket.chat/tools@workspace:packages/tools": version: 0.0.0-use.local resolution: "@rocket.chat/tools@workspace:packages/tools"