From 580b74a04125834d64b82e91327f9783697535db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Thu, 5 Sep 2024 15:41:21 +0200 Subject: [PATCH] lint(chat) --- .../scss/widgets/generic/chat/_colors.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss b/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss index e15b9bf1e93f..f7abcd59b591 100644 --- a/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss +++ b/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss @@ -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;