Skip to content

Commit

Permalink
feat(conversation): added border variables
Browse files Browse the repository at this point in the history
  • Loading branch information
supersnager committed Aug 12, 2022
1 parent 1afb045 commit 209e21d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
14 changes: 14 additions & 0 deletions themes/default/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,20 @@ $chat-container-min-width: 180px !default;
// Conversation
//

// Borders
$conversation-border-top: 0 !default;
$conversation-border-right: 0 !default;
$conversation-border-bottom: 0 !default;
$conversation-border-left: 0 !default;
$conversation-active-border-top: 0 !default;
$conversation-active-border-right: 0 !default;
$conversation-active-border-bottom: 0 !default;
$conversation-active-border-left: 0 !default;
$conversation-activated-border-top: 0 !default;
$conversation-activated-border-right: 0 !default;
$conversation-activated-border-bottom: 0 !default;
$conversation-activated-border-left: 0 !default;

// Colors
$conversation-color: $color-text !default;
$conversation-bg-color: $default-bg-color !default;
Expand Down
12 changes: 12 additions & 0 deletions themes/default/components/_conversation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ $_conversation-unread-right: 0.8em;
color: $conversation-color;
background-color: $conversation-bg-color;
user-select: none;
border-top: $conversation-border-top;
border-right: $conversation-border-right;
border-bottom: $conversation-border-bottom;
border-left: $conversation-border-left;

&:hover {
background-color: $conversation-hover-bg-color;
Expand All @@ -44,6 +48,10 @@ $_conversation-unread-right: 0.8em;

color: $conversation-active-color;
background-color: $conversation-active-bg-color;
border-top: $conversation-active-border-top;
border-right: $conversation-active-border-right;
border-bottom: $conversation-active-border-bottom;
border-left: $conversation-active-border-left;

> .#{$prefix}-avatar {
> .#{$prefix}-status {
Expand All @@ -60,6 +68,10 @@ $_conversation-unread-right: 0.8em;
color: $conversation-name-activated-color;
background-color: $conversation-activated-bg-color;
font-weight: $conversation-activated-font-weight;
border-top: $conversation-activated-border-top;
border-right: $conversation-activated-border-right;
border-bottom: $conversation-activated-border-bottom;
border-left: $conversation-activated-border-left;

> .#{$prefix}-avatar {
> .#{$prefix}-status {
Expand Down

0 comments on commit 209e21d

Please sign in to comment.