Skip to content

Commit

Permalink
feat(theme-builder): cr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Strider2342 committed Nov 7, 2024
1 parent 03b8d1a commit 928565d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 30 deletions.
20 changes: 10 additions & 10 deletions packages/devextreme-scss/scss/widgets/fluent/chat/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $chat-border-color: $base-border-color !default;
$chat-messagebox-border-color: $chat-border-color !default;

/**
* $name 30. Avatar color
* $name 30. Avatar text color
* $type color
*/
$chat-avatar-color: $base-text-color !default;
Expand All @@ -30,25 +30,25 @@ $chat-avatar-color: $base-text-color !default;
$chat-avatar-background-color: $base-active-bg !default;

/**
* $name 40. Bubble color
* $name 40. Bubble text color
* $type color
*/
$chat-bubble-color-primary: $base-text-color !default;

/**
* $name 41. Bubble background color primary
* $name 41. Bubble background color (your messages)
* $type color
*/
$chat-bubble-background-color-primary: null !default;

/**
* $name 42. Bubble background color secondary
* $name 42. Bubble background color (others' messages)
* $type color
*/
$chat-bubble-background-color-secondary: $base-border-color !default;

/**
* $name 50. Information color
* $name 50. Message caption color
* $type color
*/
$chat-information-color: null !default;
Expand Down Expand Up @@ -96,16 +96,16 @@ $chat-alertlist-color: $base-invalid-color !default;
$chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default;

/**
* $name 82. Typing indicator circle background color
* $name 82. Typing indicator central circle color
* $type color
*/
$chat-typingindicator-circle-bg-color: null !default;
$chat-typingindicator-circle-bg-color-center: null !default;

/**
* $name 83. Typing indicator center circle background color
* $name 83. Typing indicator outer circles color
* $type color
*/
$chat-typingindicator-circle-bg-color-center: null !default;
$chat-typingindicator-circle-bg-color: null !default;

@if $mode == "light" {
$chat-information-color: darken($base-bg, 56.08) !default;
Expand Down Expand Up @@ -144,7 +144,7 @@ $chat-typingindicator-circle-bg-color-center: null !default;
}

/**
* $name 80. Typing indicator color
* $name 80. Typing indicator text color
* $type color
*/
$chat-typingindicator-color: $chat-information-color !default;
21 changes: 11 additions & 10 deletions packages/devextreme-scss/scss/widgets/generic/chat/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $chat-border-color: $base-border-color !default;
$chat-messagebox-border-color: $chat-border-color !default;

/**
* $name 30. Avatar color
* $name 30. Avatar text color
* $type color
*/
$chat-avatar-color: null !default;
Expand All @@ -30,25 +30,25 @@ $chat-avatar-color: null !default;
$chat-avatar-background-color: $base-border-color !default;

/**
* $name 40. Bubble color
* $name 40. Bubble text color
* $type color
*/
$chat-bubble-color-primary: null !default;

/**
* $name 41. Bubble background color primary
* $name 41. Bubble background color (your messages)
* $type color
*/
$chat-bubble-background-color-primary: null !default;

/**
* $name 42. Bubble background color secondary
* $name 42. Bubble background color (others' messages)
* $type color
*/
$chat-bubble-background-color-secondary: null !default;

/**
* $name 50. Information color
* $name 50. Message caption color
* $type color
*/
$chat-information-color: null !default;
Expand Down Expand Up @@ -90,16 +90,17 @@ $chat-messagelist-empty-prompt-color: null !default;
$chat-alertlist-color: $base-invalid-color !default;

/**
* $name 82. Typing indicator circle background color
* $name 82. Typing indicator central circle color
* $type color
*/
$chat-typingindicator-circle-bg-color: null !default;
$chat-typingindicator-circle-bg-color-center: null !default;


/**
* $name 83. Typing indicator center circle background color
* $name 83. Typing indicator outer circles color
* $type color
*/
$chat-typingindicator-circle-bg-color-center: null !default;
$chat-typingindicator-circle-bg-color: null !default;

@if $color == "light" {
$chat-avatar-color: $base-text-color !default;
Expand Down Expand Up @@ -237,7 +238,7 @@ $chat-typingindicator-circle-bg-color-center: null !default;
}

/**
* $name 80. Typing indicator color
* $name 80. Typing indicator text color
* $type color
*/
$chat-typingindicator-color: $chat-information-color !default;
Expand Down
20 changes: 10 additions & 10 deletions packages/devextreme-scss/scss/widgets/material/chat/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $chat-border-color: $base-border-color !default;
$chat-messagebox-border-color: $chat-border-color !default;

/**
* $name 30. Avatar color
* $name 30. Avatar text color
* $type color
*/
$chat-avatar-color: $base-text-color !default;
Expand All @@ -29,25 +29,25 @@ $chat-avatar-color: $base-text-color !default;
$chat-avatar-background-color: $base-border-color !default;

/**
* $name 40. Bubble color
* $name 40. Bubble text color
* $type color
*/
$chat-bubble-color-primary: $base-text-color !default;

/**
* $name 41. Bubble background color primary
* $name 41. Bubble background color (your messages)
* $type color
*/
$chat-bubble-background-color-primary: null !default;

/**
* $name 42. Bubble background color secondary
* $name 42. Bubble background color (others' messages)
* $type color
*/
$chat-bubble-background-color-secondary: rgba($base-inverted-bg, 0.08) !default;

/**
* $name 50. Information color
* $name 50. Message caption color
* $type color
*/
$chat-information-color: rgba($base-inverted-bg, 0.6) !default;
Expand Down Expand Up @@ -89,7 +89,7 @@ $chat-messagelist-empty-prompt-color: rgba($base-inverted-bg, 0.6) !default;
$chat-alertlist-color: $base-invalid-color !default;

/**
* $name 80. Typing indicator color
* $name 80. Typing indicator text color
* $type color
*/
$chat-typingindicator-color: $chat-information-color !default;
Expand All @@ -101,16 +101,16 @@ $chat-typingindicator-color: $chat-information-color !default;
$chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default;

/**
* $name 82. Typing indicator circle background color
* $name 82. Typing indicator central circle color
* $type color
*/
$chat-typingindicator-circle-bg-color: rgba($base-inverted-bg, 0.4) !default;
$chat-typingindicator-circle-bg-color-center: rgba($base-inverted-bg, 0.6) !default;

/**
* $name 83. Typing indicator center circle background color
* $name 83. Typing indicator outer circles color
* $type color
*/
$chat-typingindicator-circle-bg-color-center: rgba($base-inverted-bg, 0.6) !default;
$chat-typingindicator-circle-bg-color: rgba($base-inverted-bg, 0.4) !default;

@if $mode == "light" {
$chat-bubble-background-color-primary: rgba($base-accent, 0.08) !default;
Expand Down

0 comments on commit 928565d

Please sign in to comment.