1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Refine the colors of some more components (#12343)

* Refine the colors of some more components

This is a reintroduction of https://github.com/matrix-org/matrix-react-sdk/pull/12255, and should be the last part of the Compound color refinement work (https://github.com/element-hq/element-web/issues/26992). I've updated the following components to reflect design decisions (https://www.figma.com/file/pqhlirZFEwEp5XpudSbiia/Theming-Web-templates?type=design&node-id=80-60219&mode=design&t=mjqwylUie1vRwzOV-0) that will help them fit in better with the new design system:

- Message bubbles
- Pills
- Sent indicators
- Jump to bottom/unread buttons
- Composer placeholder
- Notification badges
- Room sublists
- Verification shields
- Date separators
- Tooltips

Closes https://github.com/element-hq/element-web/issues/22122

* Update some screenshots
This commit is contained in:
Robin
2024-03-18 11:47:55 -04:00
committed by GitHub
parent f765a44b46
commit 26b4d47af1
49 changed files with 63 additions and 76 deletions

View File

@ -26,7 +26,7 @@ limitations under the License.
overflow: hidden;
cursor: pointer;
color: $accent-fg-color !important; /* To override .markdown-body */
color: var(--cpd-color-text-on-solid-primary) !important; /* To override .markdown-body */
background-color: $pill-bg-color !important; /* To override .markdown-body */
> * {
@ -35,7 +35,7 @@ limitations under the License.
&.mx_UserPill_me,
&.mx_AtRoomPill {
background-color: $alert !important; /* To override .markdown-body */
background-color: var(--cpd-color-bg-critical-primary) !important; /* To override .markdown-body */
}
&:hover {
@ -43,12 +43,14 @@ limitations under the License.
}
&.mx_UserPill_me:hover {
background-color: #ff6b75 !important; /* To override .markdown-body | same on both themes */
background-color: var(
--cpd-color-bg-critical-hovered
) !important; /* To override .markdown-body | same on both themes */
}
/* We don't want to indicate clickability */
&.mx_AtRoomPill:hover {
background-color: $alert !important; /* To override .markdown-body */
background-color: var(--cpd-color-bg-critical-primary) !important; /* To override .markdown-body */
cursor: unset;
}

View File

@ -71,8 +71,8 @@ limitations under the License.
max-width: 300px;
word-break: break-word;
background-color: #21262c; /* Same on both themes */
color: $accent-fg-color;
background-color: var(--cpd-color-alpha-gray-1400);
color: var(--cpd-color-text-on-solid-primary);
border: 0;
text-align: center;