Skip to content

Commit

Permalink
chore(reactions): fixed background color
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomBos authored and ThomBos committed May 4, 2022
1 parent 7c072e1 commit ea7d27a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 9 additions & 2 deletions assets/styles/framework/colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
@black: #000;

@primary-color: #2761fd;
@scrollbar-color: var(--flair-color);
@flair-color: var(--flair-color);
@scrollbar-color: @flair-color;

@secondary-text: #dae0ff;
@text: #ffffff;
Expand Down Expand Up @@ -174,7 +175,7 @@
#131217 32%,
#121b28 100%
);

@flair-gradient: linear-gradient(40deg, @flair-color 0%, @flair-color 100%);
@modal-gradient: linear-gradient(
163.91deg,
rgba(48, 52, 71, 0.5) 0%,
Expand All @@ -188,6 +189,9 @@
),
linear-gradient(0deg, #121216, #121216);

.background-flair {
background: @flair-color;
}
.background-primary {
background: @primary-color;
}
Expand All @@ -200,6 +204,9 @@
.background-dark-gradient {
background: @background-gradient;
}
.background-flair-gradient {
background: @flair-gradient;
}
.background-gradient {
background: @midground-gradient;
}
Expand Down
4 changes: 4 additions & 0 deletions assets/styles/framework/glows.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@primary-glow: 0 5px 14px -5px @primary-color;
@flair-glow: 0 5px 14px -5px @flair-color;
@white-glow: 0 5px 14px -5px @white;
@danger-glow: 0 5px 14px -5px @red;

Expand All @@ -7,6 +8,9 @@

@ui-shadow: 0 10px 20px 0 #080b0f3b;

.glow-flair {
box-shadow: @flair-glow;
}
.glow-primary {
box-shadow: @primary-glow;
}
Expand Down
4 changes: 2 additions & 2 deletions components/views/chat/message/reactions/Reactions.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
max-width: 3.5rem;
}
.emoji-reacted {
&:extend(.background-primary-gradient);
&:extend(.glow-primary);
&:extend(.background-flair-gradient);
&:extend(.glow-flair);
}
.react-button {
display: none;
Expand Down

0 comments on commit ea7d27a

Please sign in to comment.