Skip to content

Commit

Permalink
Regression: Quote colors (#27110)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriellsh authored Oct 20, 2022
1 parent d0c5d01 commit a79fadc
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import AttachmentInner from './Attachment/AttachmentInner';
const quoteStyles = css`
.rcx-attachment__details {
.rcx-message-body {
color: ${Palette.surface['surface-neutral']};
color: ${Palette.text['font-hint']};
}
}
&:hover,
Expand Down Expand Up @@ -51,7 +51,7 @@ export const QuoteAttachment = ({ attachment }: QuoteAttachmentProps): ReactElem
<AttachmentAuthor>
<AttachmentAuthorAvatar url={attachment.author_icon} />
<AttachmentAuthorName
{...(attachment.author_name && { is: 'a', href: attachment.author_link, target: '_blank', color: 'annotation' })}
{...(attachment.author_name && { is: 'a', href: attachment.author_link, target: '_blank', color: 'hint' })}
>
{attachment.author_name}
</AttachmentAuthorName>
Expand Down
80 changes: 69 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5480,6 +5480,19 @@ __metadata:
languageName: node
linkType: hard

"@rocket.chat/css-in-js@npm:~0.31.20-dev.12":
version: 0.31.20-dev.12
resolution: "@rocket.chat/css-in-js@npm:0.31.20-dev.12"
dependencies:
"@emotion/hash": ^0.8.0
"@rocket.chat/css-supports": ~0.31.20-dev.12
"@rocket.chat/memo": ~0.31.20-dev.12
"@rocket.chat/stylis-logical-props-middleware": ~0.31.20-dev.12
stylis: ~4.0.13
checksum: f03d4071f4e016bb63335c01cbdcdf1cb33c513a3464dad9711ce3253116f5c9b3c2cfd83c5bbc3b00caa3b88273cf17beaa07450d4e2f4a5ad2375214acb1b7
languageName: node
linkType: hard

"@rocket.chat/css-supports@npm:~0.31.20-dev.11":
version: 0.31.20-dev.11
resolution: "@rocket.chat/css-supports@npm:0.31.20-dev.11"
Expand All @@ -5489,6 +5502,15 @@ __metadata:
languageName: node
linkType: hard

"@rocket.chat/css-supports@npm:~0.31.20-dev.12":
version: 0.31.20-dev.12
resolution: "@rocket.chat/css-supports@npm:0.31.20-dev.12"
dependencies:
"@rocket.chat/memo": ~0.31.20-dev.12
checksum: da90d5e4dcc23f47a440951ff755fa8b27db2d6dc18db28f233a948cc360b6396bd0bc9db2dc4509555549f21cb3fd3b06c7247871b8134092d224f827f0a0de
languageName: node
linkType: hard

"@rocket.chat/ddp-streamer@workspace:ee/apps/ddp-streamer":
version: 0.0.0-use.local
resolution: "@rocket.chat/ddp-streamer@workspace:ee/apps/ddp-streamer"
Expand Down Expand Up @@ -5676,13 +5698,20 @@ __metadata:
languageName: node
linkType: hard

"@rocket.chat/fuselage-tokens@npm:next, @rocket.chat/fuselage-tokens@npm:~0.32.0-dev.124":
"@rocket.chat/fuselage-tokens@npm:next":
version: 0.32.0-dev.124
resolution: "@rocket.chat/fuselage-tokens@npm:0.32.0-dev.124"
checksum: 20800fb4492d92a7bfcf9886ee70bb78261474ad771f4c53f401f8416de71cb1c9e0b61100ec296ece8329edbce6b9242b8aa8c0c804c13fc5e73d08075c4a58
languageName: node
linkType: hard

"@rocket.chat/fuselage-tokens@npm:~0.32.0-dev.125":
version: 0.32.0-dev.125
resolution: "@rocket.chat/fuselage-tokens@npm:0.32.0-dev.125"
checksum: 5a05c2238d702e91a75980756cb53cf032ba6683f9ddd30743d093bd9699954bcbacbfa9be13ff189ebb3e9209696e8048b785d6b1d5180bf38e7e5ffc4267e2
languageName: node
linkType: hard

"@rocket.chat/fuselage-ui-kit@npm:next":
version: 0.32.0-dev.124
resolution: "@rocket.chat/fuselage-ui-kit@npm:0.32.0-dev.124"
Expand Down Expand Up @@ -5748,14 +5777,14 @@ __metadata:
linkType: soft

"@rocket.chat/fuselage@npm:next":
version: 0.32.0-dev.174
resolution: "@rocket.chat/fuselage@npm:0.32.0-dev.174"
dependencies:
"@rocket.chat/css-in-js": ~0.31.20-dev.11
"@rocket.chat/css-supports": ~0.31.20-dev.11
"@rocket.chat/fuselage-tokens": ~0.32.0-dev.124
"@rocket.chat/memo": ~0.31.20-dev.11
"@rocket.chat/styled": ~0.31.20-dev.11
version: 0.32.0-dev.175
resolution: "@rocket.chat/fuselage@npm:0.32.0-dev.175"
dependencies:
"@rocket.chat/css-in-js": ~0.31.20-dev.12
"@rocket.chat/css-supports": ~0.31.20-dev.12
"@rocket.chat/fuselage-tokens": ~0.32.0-dev.125
"@rocket.chat/memo": ~0.31.20-dev.12
"@rocket.chat/styled": ~0.31.20-dev.12
invariant: ^2.2.4
react-aria: ~3.19.0
react-keyed-flatten-children: ^1.3.0
Expand All @@ -5767,7 +5796,7 @@ __metadata:
react: ^17.0.2
react-dom: ^17.0.2
react-virtuoso: 1.2.4
checksum: 9f91e49d4f65791d749be9ebc37e44013af616ea672fa78049e8bdd1e0a29507e690e9477521f791edf0df8ecf5146e64442d647a17eb40367e4b6c1defabb12
checksum: e0e11aa64a8ac9746e82fc48f1c487c84345333f3c5998ebf9d1bcf0c350864979aa66da4359063b9a6424e729dcecd2387705a2b35247e91cf59e33043abe52
languageName: node
linkType: hard

Expand Down Expand Up @@ -5955,6 +5984,13 @@ __metadata:
languageName: node
linkType: hard

"@rocket.chat/memo@npm:~0.31.20-dev.12":
version: 0.31.20-dev.12
resolution: "@rocket.chat/memo@npm:0.31.20-dev.12"
checksum: 1dbef16d74f84b0fac950b51c0b23d6d2f600739577c078e3fd10bd3943fd6a0060c3e85c08cfd03fa53ebe029cd2ab094ed767bcba81f88463bd30cd1553713
languageName: node
linkType: hard

"@rocket.chat/message-parser@npm:next":
version: 0.32.0-dev.122
resolution: "@rocket.chat/message-parser@npm:0.32.0-dev.122"
Expand Down Expand Up @@ -6501,6 +6537,16 @@ __metadata:
languageName: node
linkType: hard

"@rocket.chat/styled@npm:~0.31.20-dev.12":
version: 0.31.20-dev.12
resolution: "@rocket.chat/styled@npm:0.31.20-dev.12"
dependencies:
"@rocket.chat/css-in-js": ~0.31.20-dev.12
tslib: ^2.3.1
checksum: c326c4a389337cac09db483138d7a3c9493ec514d3afbdb43b35b892261bb48c1b395181eaa16e05f87ba28773846de555c4cd0b0569109d020915493004ccc6
languageName: node
linkType: hard

"@rocket.chat/stylis-logical-props-middleware@npm:~0.31.20-dev.11":
version: 0.31.20-dev.11
resolution: "@rocket.chat/stylis-logical-props-middleware@npm:0.31.20-dev.11"
Expand All @@ -6513,6 +6559,18 @@ __metadata:
languageName: node
linkType: hard

"@rocket.chat/stylis-logical-props-middleware@npm:~0.31.20-dev.12":
version: 0.31.20-dev.12
resolution: "@rocket.chat/stylis-logical-props-middleware@npm:0.31.20-dev.12"
dependencies:
"@rocket.chat/css-supports": ~0.31.20-dev.12
tslib: ^2.3.1
peerDependencies:
stylis: 4.0.10
checksum: 03e72c0cb92c3c95add691a9e76e3d13962080c94a2dc4b8a44c4215bd4e360d981db273fd53777a04835553e4aee7e16a30bb7f6ecc694d9cb2b8bc4eedb879
languageName: node
linkType: hard

"@rocket.chat/ui-client@workspace:^, @rocket.chat/ui-client@workspace:packages/ui-client":
version: 0.0.0-use.local
resolution: "@rocket.chat/ui-client@workspace:packages/ui-client"
Expand Down Expand Up @@ -23451,7 +23509,7 @@ __metadata:
optional: true
bin:
lessc: ./bin/lessc
checksum: 61568b56b5289fdcfe3d51baf3c13e7db7140022c0a37ef0ae343169f0de927a4b4f4272bc10c20101796e8ee79e934e024051321bba93b3ae071f734309bd98
checksum: c9b8c0e865427112c48a9cac36f14964e130577743c29d56a6d93b5812b70846b04ccaa364acf1e8d75cee3855215ec0a2d8d9de569c80e774f10b6245f39b7d
languageName: node
linkType: hard

Expand Down

0 comments on commit a79fadc

Please sign in to comment.