Skip to content

Commit

Permalink
lint(chat)
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Sep 5, 2024
1 parent f4ca976 commit 580b74a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,49 +19,49 @@ $chat-information-color: null !default;
$chat-information-color: darken($base-bg, 41.57) !default; // #959595
}

@else if $color == "dark" {
@if $color == "dark" {
$chat-avatar-background-color: lighten($base-bg, 13.73) !default; // #4D4D4D
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.07), 5.10), 0.1) !default; // #1997C61A
$chat-bubble-background-color-secondary: lighten($base-bg, 3.92) !default; // #343434
$chat-information-color: lighten($base-bg, 32.55) !default; // #7D7D7D
}

@else if $color == "carmine" {
@if $color == "carmine" {
$chat-avatar-background-color: darken($base-bg, 13.33) !default;
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.32), 5.10), 0.1) !default;
$chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
$chat-information-color: darken($base-bg, 41.57) !default;
}

@else if $color == "contrast" {
@if $color == "contrast" {
$chat-avatar-background-color: darken($base-bg, 13.33) !default;
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.32), 5.10), 0.1) !default;
$chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
$chat-information-color: darken($base-bg, 41.57) !default;
}

@else if $color == "darkmoon" {
@if $color == "darkmoon" {
$chat-avatar-background-color: darken($base-bg, 13.33) !default;
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.32), 5.10), 0.1) !default;
$chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
$chat-information-color: darken($base-bg, 41.57) !default;
}

@else if $color == "darkviolet" {
@if $color == "darkviolet" {
$chat-avatar-background-color: darken($base-bg, 13.33) !default;
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.32), 5.10), 0.1) !default;
$chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
$chat-information-color: darken($base-bg, 41.57) !default;
}

@else if $color == "greenmist" {
@if $color == "greenmist" {
$chat-avatar-background-color: darken($base-bg, 13.33) !default;
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.32), 5.10), 0.1) !default;
$chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
$chat-information-color: darken($base-bg, 41.57) !default;
}

@else if $color == "softblue" {
@if $color == "softblue" {
$chat-avatar-background-color: darken($base-bg, 13.33) !default;
$chat-bubble-background-color-primary: rgba(darken(saturate($base-accent, 0.32), 5.10), 0.1) !default;
$chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
Expand Down

0 comments on commit 580b74a

Please sign in to comment.