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

Commit 3d9a028

Browse files
committed
Revert "$avatar-bg-color -> $background"
This reverts commit a3a6f73.
1 parent bf87413 commit 3d9a028

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

res/css/views/avatars/_BaseAvatar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ limitations under the License.
4343
object-fit: cover;
4444
border-radius: 125px;
4545
vertical-align: top;
46-
background-color: $background;
46+
background-color: $avatar-bg-color;
4747
}

res/css/views/rooms/_BasicMessageComposer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ limitations under the License.
5454
width: $font-16px;
5555
height: $font-16px;
5656
margin-right: 0.24rem;
57-
background: var(--avatar-background), $background;
57+
background: var(--avatar-background), $avatar-bg-color;
5858
color: $avatar-initial-color;
5959
background-repeat: no-repeat;
6060
background-size: $font-16px;

res/themes/dark/css/_dark.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ $menu-box-shadow-color: $background;
8686
$menu-selected-color: $room-highlight-color;
8787

8888
$avatar-initial-color: #ffffff;
89+
$avatar-bg-color: $background;
8990

9091
$h3-color: $primary-content;
9192

res/themes/light-custom/css/_custom.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $button-secondary-bg-color: var(--timeline-background-color);
3636
$field-focused-label-bg-color: var(--timeline-background-color);
3737
$lightbox-border-color: var(--timeline-background-color);
3838
$menu-bg-color: var(--timeline-background-color);
39-
$background: var(--timeline-background-color);
39+
$avatar-bg-color: var(--timeline-background-color);
4040
$message-action-bar-bg-color: var(--timeline-background-color);
4141
$background: var(--timeline-background-color);
4242
$togglesw-ball-color: var(--timeline-background-color);

res/themes/light/css/_light.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ $menu-box-shadow-color: rgba(118, 131, 156, 0.6);
124124
$menu-selected-color: #f5f8fa;
125125

126126
$avatar-initial-color: $background;
127+
$avatar-bg-color: $background;
127128

128129
$h3-color: #3d3b39;
129130

0 commit comments

Comments
 (0)