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

Commit

Permalink
move sendername colors to theme
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Oct 23, 2018
1 parent f2efbc1 commit b7ab207
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
16 changes: 8 additions & 8 deletions res/css/views/messages/_SenderProfile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,35 @@ limitations under the License.
}

.mx_SenderProfile_color1 {
color: #1e7ddc;
color: $username-variant1-color;
}

.mx_SenderProfile_color2 {
color: #a756a8;
color: $username-variant2-color;
}

.mx_SenderProfile_color3 {
color: #7ac9a1;
color: $username-variant3-color;
}

.mx_SenderProfile_color4 {
color: #f2809d;
color: $username-variant4-color;
}

.mx_SenderProfile_color5 {
color: #ffc666;
color: $username-variant5-color;
}

.mx_SenderProfile_color6 {
color: #76ddd7;
color: $username-variant6-color;
}

.mx_SenderProfile_color7 {
color: #45529b;
color: $username-variant7-color;
}

.mx_SenderProfile_color8 {
color: #bfd251;
color: $username-variant8-color;
}


9 changes: 9 additions & 0 deletions res/themes/dark/css/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ $roomtile-name-color: rgba(186, 186, 186, 0.8);
$roomtile-selected-bg-color: #333;
$roomtile-focused-bg-color: rgba(255, 255, 255, 0.2);

$username-variant1-color: #1e7ddc;
$username-variant2-color: #a756a8;
$username-variant3-color: #7ac9a1;
$username-variant4-color: #f2809d;
$username-variant5-color: #ffc666;
$username-variant6-color: #76ddd7;
$username-variant7-color: #45529b;
$username-variant8-color: #bfd251;

$roomsublist-background: rgba(0, 0, 0, 0.2);
$roomsublist-label-fg-color: $h3-color;
$roomsublist-label-bg-color: $tertiary-accent-color;
Expand Down
9 changes: 9 additions & 0 deletions res/themes/dharma/css/_dharma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@ $roomtile-notified-color: #212121;
$roomtile-selected-bg-color: #fff;
$roomtile-focused-bg-color: #fff;

$username-variant1-color: #1e7ddc;
$username-variant2-color: #a756a8;
$username-variant3-color: #7ac9a1;
$username-variant4-color: #f2809d;
$username-variant5-color: #ffc666;
$username-variant6-color: #76ddd7;
$username-variant7-color: #45529b;
$username-variant8-color: #bfd251;

$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);

$roomsublist-background: $secondary-accent-color;
Expand Down
9 changes: 9 additions & 0 deletions res/themes/light/css/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ $roomtile-notified-color: $roomtile-name-color;
$roomtile-selected-bg-color: rgba(255, 255, 255, 0.8);
$roomtile-focused-bg-color: rgba(255, 255, 255, 0.9);

$username-variant1-color: #1e7ddc;
$username-variant2-color: #a756a8;
$username-variant3-color: #7ac9a1;
$username-variant4-color: #f2809d;
$username-variant5-color: #ffc666;
$username-variant6-color: #76ddd7;
$username-variant7-color: #45529b;
$username-variant8-color: #bfd251;

$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);

$roomsublist-background: rgba(0, 0, 0, 0.05);
Expand Down

0 comments on commit b7ab207

Please sign in to comment.