Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
set background on highlighted messages
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Jul 2, 2019
1 parent daa2250 commit fc3c4fc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
8 changes: 6 additions & 2 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,12 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {

.mx_EventTile_highlight,
.mx_EventTile_highlight .markdown-body
{
color: $warning-color;
{
color: $event-highlight-fg-color;

.mx_EventTile_line {
background-color: $event-highlight-bg-color;
}
}

.mx_EventTile_contextual {
Expand Down
3 changes: 3 additions & 0 deletions res/themes/dark/css/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ $event-sending-color: $text-secondary-color;
$event-redacted-fg-color: #606060;
$event-redacted-border-color: #000000;

$event-highlight-fg-color: $warning-color;
$event-highlight-bg-color: $event-selected-color;

// event timestamp
$event-timestamp-color: $text-secondary-color;

Expand Down
10 changes: 8 additions & 2 deletions res/themes/light/css/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,18 @@ $panel-divider-color: #dee1f3;
$widget-menu-bar-bg-color: $secondary-accent-color;

// ********************

// both $event-highlight-bg-color and $room-warning-bg-color share this value,
// so to not make their order dependent on who depends on who, have a shared value
// defined before both
$yellow-background: #fff8e3;
// event tile lifecycle
$event-encrypting-color: #abddbc;
$event-sending-color: #ddd;
$event-notsent-color: #f44;

$event-highlight-fg-color: $warning-color;
$event-highlight-bg-color: $yellow-background;

// event redaction
$event-redacted-fg-color: #e2e2e2;
$event-redacted-border-color: #cccccc;
Expand Down Expand Up @@ -244,7 +250,7 @@ $togglesw-ball-color: #fff;

$progressbar-color: #000;

$room-warning-bg-color: #fff8e3;
$room-warning-bg-color: $yellow-background;

$memberstatus-placeholder-color: $roomtile-name-color;

Expand Down

0 comments on commit fc3c4fc

Please sign in to comment.