Skip to content

Commit

Permalink
Added overlay colors to vars
Browse files Browse the repository at this point in the history
  • Loading branch information
VladToby committed Oct 3, 2024
1 parent eef02e0 commit c3d32aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/components/ui/Avatar/Avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
background-color: $c_overlay-background;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -48,11 +48,11 @@
cursor: pointer;
padding: 8px 16px;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.5);
background-color: $c_overlay-background;
transition: background-color 0.3s ease;

&:hover {
background-color: rgba(0, 0, 0, 0.7);
background-color: $c_overlay-background-hover;
}
}
}
2 changes: 2 additions & 0 deletions packages/client/src/scss/vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ $c_input-default-border-hover: #b1b1b1;
$c_input-default-label: #a5a5a5;

$c_avatar-border-color: #313131;
$c_overlay-background: rgba(0, 0, 0, 0.5);
$c_overlay-background-hover: rgba(0, 0, 0, 0.7);

$c_success: #48c548;

Expand Down

0 comments on commit c3d32aa

Please sign in to comment.