diff --git a/packages/devextreme-scss/scss/widgets/fluent/chat/_colors.scss b/packages/devextreme-scss/scss/widgets/fluent/chat/_colors.scss index b122334fe325..f3acdd8b35cb 100644 --- a/packages/devextreme-scss/scss/widgets/fluent/chat/_colors.scss +++ b/packages/devextreme-scss/scss/widgets/fluent/chat/_colors.scss @@ -15,13 +15,14 @@ $chat-background-color: $base-bg !default; * $type color */ $chat-border-color: $base-border-color !default; -$chat-messagebox-border-color: $base-border-color !default; +$chat-messagebox-border-color: $chat-border-color !default; /** * $name 30. Avatar color * $type color */ $chat-avatar-color: $base-text-color !default; + /** * $name 31. Avatar background color * $type color @@ -33,11 +34,13 @@ $chat-avatar-background-color: $base-active-bg !default; * $type color */ $chat-bubble-color-primary: $base-text-color !default; + /** * $name 41. Bubble background color primary * $type color */ $chat-bubble-background-color-primary: null !default; + /** * $name 42. Bubble background color secondary * $type color @@ -55,21 +58,25 @@ $chat-information-color: null !default; * $type color */ $chat-messagelist-day-header-color: null !default; + /** * $name 61. Empty list icon color * $type color */ $chat-messagelist-empty-icon-color: null !default; + /** * $name 62. Empty list icon background color * $type color */ $chat-messagelist-empty-icon-background-color: null !default; + /** * $name 63. Empty list message color * $type color */ $chat-messagelist-empty-message-color: $base-text-color !default; + /** * $name 64. Empty list prompt color * $type color @@ -82,21 +89,22 @@ $chat-messagelist-empty-prompt-color: null !default; */ $chat-alertlist-color: $base-invalid-color !default; -/** -* $name 80. Typing indicator color -* $type color -*/ -$chat-typingindicator-color: null !default; /** * $name 81. Typing indicator background color * $type color */ $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; + /** * $name 82. Typing indicator circle background color * $type color */ $chat-typingindicator-circle-bg-color: null !default; + +/** +* $name 83. Typing indicator center circle background color +* $type color +*/ $chat-typingindicator-circle-bg-color-center: null !default; @if $mode == "light" { @@ -107,7 +115,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-icon-background-color: darken($base-bg, 3.92) !default; $chat-messagelist-empty-prompt-color: darken($base-label-color, 5.88) !default; - $chat-typingindicator-color: $chat-information-color !default; $chat-typingindicator-circle-bg-color: darken($base-bg, 29.16) !default; $chat-typingindicator-circle-bg-color-center: darken($base-bg, 56.08) !default; @@ -132,7 +139,12 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-icon-background-color: lighten($base-bg, 7.84) !default; $chat-messagelist-empty-prompt-color: lighten($base-label-color, 7.84) !default; - $chat-typingindicator-color: $chat-information-color !default; $chat-typingindicator-circle-bg-color: lighten($base-bg, 33.92) !default; $chat-typingindicator-circle-bg-color-center: lighten($base-bg, 43.92) !default; } + +/** +* $name 80. Typing indicator color +* $type color +*/ +$chat-typingindicator-color: $chat-information-color !default; diff --git a/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss b/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss index c94aa64eac9c..00083ae4699e 100644 --- a/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss +++ b/packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss @@ -15,30 +15,32 @@ $chat-background-color: $base-bg !default; * $type color */ $chat-border-color: $base-border-color !default; +$chat-messagebox-border-color: $chat-border-color !default; /** * $name 30. Avatar color * $type color */ $chat-avatar-color: null !default; + /** * $name 31. Avatar background color * $type color */ $chat-avatar-background-color: $base-border-color !default; -$chat-messagebox-border-color: $base-border-color !default; - /** * $name 40. Bubble color * $type color */ $chat-bubble-color-primary: null !default; + /** * $name 41. Bubble background color primary * $type color */ $chat-bubble-background-color-primary: null !default; + /** * $name 42. Bubble background color secondary * $type color @@ -56,21 +58,25 @@ $chat-information-color: null !default; * $type color */ $chat-messagelist-day-header-color: null !default; + /** * $name 61. Empty list icon color * $type color */ $chat-messagelist-empty-icon-color: null !default; + /** * $name 62. Empty list icon background color * $type color */ $chat-messagelist-empty-icon-background-color: null !default; + /** * $name 63. Empty list message color * $type color */ $chat-messagelist-empty-message-color: null !default; + /** * $name 64. Empty list prompt color * $type color @@ -84,20 +90,15 @@ $chat-messagelist-empty-prompt-color: null !default; $chat-alertlist-color: $base-invalid-color !default; /** -* $name 80. Typing indicator color -* $type color -*/ -$chat-typingindicator-color: null !default; -/** -* $name 81. Typing indicator background color +* $name 82. Typing indicator circle background color * $type color */ -$chat-typingindicator-bubble-bg-color: null !default; +$chat-typingindicator-circle-bg-color: null !default; + /** -* $name 82. Typing indicator circle background color +* $name 83. Typing indicator center circle background color * $type color */ -$chat-typingindicator-circle-bg-color: null !default; $chat-typingindicator-circle-bg-color-center: null !default; @if $color == "light" { @@ -113,8 +114,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: darken($base-text-color, 6.67) !default; $chat-messagelist-empty-prompt-color: lighten($base-label-color, 38.43) !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: darken($base-bg, 31.57) !default; $chat-typingindicator-circle-bg-color-center: darken($base-bg, 46.57) !default; } @@ -132,8 +131,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: lighten($base-text-color, 12.94) !default; $chat-messagelist-empty-prompt-color: darken($base-label-color, 38.04) !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: lighten($base-bg, 32.55) !default; $chat-typingindicator-circle-bg-color-center: lighten($base-bg, 41.07) !default; } @@ -151,8 +148,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: $base-text-color !default; $chat-messagelist-empty-prompt-color: $base-label-color !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: darken($base-bg, 31.57) !default; $chat-typingindicator-circle-bg-color-center: darken($base-bg, 46.57) !default; } @@ -170,8 +165,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: $base-text-color !default; $chat-messagelist-empty-prompt-color: $base-text-color !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: $base-inverted-bg !default; $chat-typingindicator-circle-bg-color-center: $base-inverted-bg !default; } @@ -189,8 +182,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: $base-text-color !default; $chat-messagelist-empty-prompt-color: $base-label-color !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: lighten($base-bg, 32.55) !default; $chat-typingindicator-circle-bg-color-center: lighten($base-bg, 41.07) !default; } @@ -208,8 +199,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: lighten($base-text-color, 12.94) !default; $chat-messagelist-empty-prompt-color: darken($base-label-color, 38.04) !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: lighten($base-bg, 32.55) !default; $chat-typingindicator-circle-bg-color-center: lighten($base-bg, 41.07) !default; } @@ -226,8 +215,6 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: $base-text-color !default; $chat-messagelist-empty-prompt-color: $base-label-color !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: darken($base-bg, 31.57) !default; $chat-typingindicator-circle-bg-color-center: darken($base-bg, 46.57) !default; } @@ -245,8 +232,18 @@ $chat-typingindicator-circle-bg-color-center: null !default; $chat-messagelist-empty-message-color: $base-text-color !default; $chat-messagelist-empty-prompt-color: $base-label-color !default; - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; $chat-typingindicator-circle-bg-color: darken($base-bg, 31.57) !default; $chat-typingindicator-circle-bg-color-center: darken($base-bg, 46.57) !default; } + +/** +* $name 80. Typing indicator color +* $type color +*/ +$chat-typingindicator-color: $chat-information-color !default; + +/** +* $name 81. Typing indicator background color +* $type color +*/ +$chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; diff --git a/packages/devextreme-scss/scss/widgets/material/chat/_colors.scss b/packages/devextreme-scss/scss/widgets/material/chat/_colors.scss index 72371f94e481..4d225d10d303 100644 --- a/packages/devextreme-scss/scss/widgets/material/chat/_colors.scss +++ b/packages/devextreme-scss/scss/widgets/material/chat/_colors.scss @@ -14,13 +14,14 @@ $chat-background-color: $base-bg !default; * $type color */ $chat-border-color: $base-border-color !default; -$chat-messagebox-border-color: $base-border-color !default; +$chat-messagebox-border-color: $chat-border-color !default; /** * $name 30. Avatar color * $type color */ $chat-avatar-color: $base-text-color !default; + /** * $name 31. Avatar background color * $type color @@ -32,43 +33,49 @@ $chat-avatar-background-color: $base-border-color !default; * $type color */ $chat-bubble-color-primary: $base-text-color !default; + /** * $name 41. Bubble background color primary * $type color */ $chat-bubble-background-color-primary: null !default; + /** * $name 42. Bubble background color secondary * $type color */ -$chat-bubble-background-color-secondary: null !default; +$chat-bubble-background-color-secondary: rgba($base-inverted-bg, 0.08) !default; /** * $name 50. Information color * $type color */ -$chat-information-color: null !default; +$chat-information-color: rgba($base-inverted-bg, 0.6) !default; /** * $name 60. Day header color * $type color */ -$chat-messagelist-day-header-color: null !default; +$chat-messagelist-day-header-color: rgba($base-inverted-bg, 0.6) !default; + /** * $name 61. Empty list icon color * $type color */ $chat-messagelist-empty-icon-color: rgba($base-inverted-bg, 0.38) !default; + /** * $name 62. Empty list icon background color * $type color */ $chat-messagelist-empty-icon-background-color: rgba($base-inverted-bg, 0.08) !default; + /** * $name 63. Empty list message color * $type color */ $chat-messagelist-empty-message-color: rgba($base-inverted-bg, 0.87) !default; + /** * $name 64. Empty list prompt color * $type color @@ -85,43 +92,30 @@ $chat-alertlist-color: $base-invalid-color !default; * $name 80. Typing indicator color * $type color */ -$chat-typingindicator-color: null !default; +$chat-typingindicator-color: $chat-information-color !default; + /** * $name 81. Typing indicator background color * $type color */ -$chat-typingindicator-bubble-bg-color: null !default; +$chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; + /** * $name 82. Typing indicator circle background color * $type color */ -$chat-typingindicator-circle-bg-color: null !default; -$chat-typingindicator-circle-bg-color-center: null !default; +$chat-typingindicator-circle-bg-color: rgba($base-inverted-bg, 0.4) !default; + +/** +* $name 83. Typing indicator center circle background color +* $type color +*/ +$chat-typingindicator-circle-bg-color-center: rgba($base-inverted-bg, 0.6) !default; @if $mode == "light" { $chat-bubble-background-color-primary: rgba($base-accent, 0.08) !default; - $chat-bubble-background-color-secondary: rgba($base-inverted-bg, 0.08) !default; - - $chat-information-color: rgba(darken($base-bg, 100.00), 0.6) !default; - - $chat-messagelist-day-header-color: rgba(darken($base-bg, 100.00), 0.6) !default; - - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; - $chat-typingindicator-circle-bg-color: rgba(darken($base-bg, 100.00), 0.4) !default; - $chat-typingindicator-circle-bg-color-center: rgba(darken($base-bg, 100.00), 0.6) !default; } @else if $mode == "dark" { $chat-bubble-background-color-primary: rgba(lighten($base-accent, 19.22), 0.08) !default; - $chat-bubble-background-color-secondary: rgba(lighten(desaturate(adjust-hue($base-bg, -240), 8.47), 76.86), 0.08) !default; - - $chat-information-color: rgba(lighten(desaturate(adjust-hue($base-bg, -240), 8.47), 76.86), 0.6) !default; - - $chat-messagelist-day-header-color: rgba(lighten(desaturate(adjust-hue($base-bg, -240), 8.47), 76.86), 0.6) !default; - - $chat-typingindicator-color: $chat-information-color !default; - $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default; - $chat-typingindicator-circle-bg-color: rgba(lighten(desaturate(adjust-hue($base-bg, -240), 8.47), 76.86), 0.4) !default; - $chat-typingindicator-circle-bg-color-center: rgba(lighten(desaturate(adjust-hue($base-bg, -240), 8.47), 76.86), 0.6) !default; }