Skip to content

Commit

Permalink
refactor(chat): Lint scss
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Sep 3, 2024
1 parent 803f3f5 commit b67e599
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@mixin chat-messagebubble (
@mixin chat-messagebubble(
$padding,
$border-radius,
$background-color-secondary,
Expand Down Expand Up @@ -31,6 +31,8 @@

.dx-chat-message-group-alignment-end {
.dx-chat-message-bubble {
background-color: $background-color-primary;

&:first-child {
border-top-right-radius: $border-radius;
}
Expand All @@ -40,10 +42,4 @@
}
}
}

.dx-chat-message-group-alignment-end {
.dx-chat-message-bubble {
background-color: $background-color-primary;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ $chat-messagebox-button-color: null !default;
@else if $mode == "dark" {
$chat-bubble-background-color-primary: #082338 !default;
$chat-bubble-background-color-secondary: #3D3D3D !default;
$chat-information-color: #999999 !default;
$chat-information-color: #999 !default;
$chat-messagebox-button-color: #62ABF5 !default;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ $chat-messagegroup-padding-top: null !default;
$chat-messagegroup-author-name-gap: 8px !default;
$chat-avatar-size: 32px !default;
$chat-avatar-gap: 12px !default;
$chat-messagegroup-alignment-start-template:
$chat-avatar-size + $chat-avatar-gap 1fr !default;
$chat-messagegroup-alignment-start-template: $chat-avatar-size + $chat-avatar-gap 1fr !default;
$chat-header-padding: 20px !default;
$chat-information-font-size: 12px !default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ $chat-messagegroup-padding-top: null !default;
$chat-messagegroup-author-name-gap: 8px !default;
$chat-avatar-size: 32px !default;
$chat-avatar-gap: 12px !default;
$chat-messagegroup-alignment-start-template:
$chat-avatar-size + $chat-avatar-gap 1fr !default;
$chat-messagegroup-alignment-start-template: $chat-avatar-size + $chat-avatar-gap 1fr !default;
$chat-header-padding: 20px !default;
$chat-information-font-size: 12px !default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ $chat-messagebox-button-color: null !default;
@if $mode == "light" {
$chat-bubble-background-color-primary: #03A9F414 !default;
$chat-bubble-background-color-secondary: #00000014 !default;
$chat-information-color: #00000099 !default;
$chat-information-color: #0009 !default;
$chat-messagebox-button-color: #03A9F4 !default;
}

@else if $mode == "dark" {
$chat-bubble-background-color-primary: #5CCBFD14 !default;
$chat-bubble-background-color-secondary: #FFFFFF14 !default;
$chat-information-color: #FFFFFF99 !default;
$chat-information-color: #FFF9 !default;
$chat-messagebox-button-color: #5CCBFD !default;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ $chat-messagegroup-padding-top: null !default;
$chat-messagegroup-author-name-gap: 8px !default;
$chat-avatar-size: 32px !default;
$chat-avatar-gap: 12px !default;
$chat-messagegroup-alignment-start-template:
$chat-avatar-size + $chat-avatar-gap 1fr !default;
$chat-messagegroup-alignment-start-template: $chat-avatar-size + $chat-avatar-gap 1fr !default;
$chat-header-padding: 20px !default;
$chat-information-font-size: 12px !default;

Expand Down

0 comments on commit b67e599

Please sign in to comment.