Skip to content

Commit

Permalink
chore: Update incoming chat bubble background color design token (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
cansuaa authored Nov 15, 2024
1 parent 5343b83 commit d8a1a65
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/__integ__/__snapshots__/themes.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2684,7 +2684,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh"
"color-background-button-primary-hover": "#002b66",
"color-background-calendar-current-date": "#f3f3f7",
"color-background-cell-shaded": "#f6f6f9",
"color-background-chat-bubble-incoming": "#f3f3f7",
"color-background-chat-bubble-incoming": "#f6f6f9",
"color-background-chat-bubble-outgoing": "transparent",
"color-background-code-editor-gutter-active-line-default": "#656871",
"color-background-code-editor-gutter-active-line-error": "#db0000",
Expand Down Expand Up @@ -3341,7 +3341,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-
"color-background-button-primary-hover": "#002b66",
"color-background-calendar-current-date": "#f3f3f7",
"color-background-cell-shaded": "#f6f6f9",
"color-background-chat-bubble-incoming": "#f3f3f7",
"color-background-chat-bubble-incoming": "#f6f6f9",
"color-background-chat-bubble-outgoing": "transparent",
"color-background-code-editor-gutter-active-line-default": "#656871",
"color-background-code-editor-gutter-active-line-error": "#db0000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17232,7 +17232,7 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t
"$description": "The background color of \`incoming\` chat bubble.",
"$value": {
"dark": "#0f141a",
"light": "#f3f3f7",
"light": "#f6f6f9",
},
},
"color-background-chat-bubble-outgoing": {
Expand Down Expand Up @@ -22110,7 +22110,7 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t
"$description": "The background color of \`incoming\` chat bubble.",
"$value": {
"dark": "#0f141a",
"light": "#f3f3f7",
"light": "#f6f6f9",
},
},
"color-background-chat-bubble-outgoing": {
Expand Down Expand Up @@ -24549,7 +24549,7 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t
"$description": "The background color of \`incoming\` chat bubble.",
"$value": {
"dark": "#0f141a",
"light": "#f3f3f7",
"light": "#f6f6f9",
},
},
"color-background-chat-bubble-outgoing": {
Expand Down Expand Up @@ -26988,7 +26988,7 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t
"$description": "The background color of \`incoming\` chat bubble.",
"$value": {
"dark": "#0f141a",
"light": "#f3f3f7",
"light": "#f6f6f9",
},
},
"color-background-chat-bubble-outgoing": {
Expand Down Expand Up @@ -34305,7 +34305,7 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t
"$description": "The background color of \`incoming\` chat bubble.",
"$value": {
"dark": "#0f141a",
"light": "#f3f3f7",
"light": "#f6f6f9",
},
},
"color-background-chat-bubble-outgoing": {
Expand Down
1 change: 1 addition & 0 deletions style-dictionary/classic/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const tokens: StyleDictionary.ColorsDictionary = {
colorBackgroundSegmentHover: '{colorBackgroundButtonNormalDefault}',
colorBackgroundTilesDisabled: { dark: '{colorGrey700}' },
colorBackgroundToggleCheckedDisabled: { dark: '{colorBlue700}' },
colorBackgroundChatBubbleIncoming: { light: '{colorGrey150}', dark: '{colorGrey900}' },
colorBorderButtonNormalActive: '{colorBorderButtonNormalDefault}',
colorBorderButtonNormalDefault: { light: '{colorGrey600}', dark: '{colorGrey500}' },
colorBorderToggleButtonNormalPressed: { light: '{colorGrey600}', dark: '{colorGrey500}' },
Expand Down
2 changes: 1 addition & 1 deletion style-dictionary/visual-refresh/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const tokens: StyleDictionary.ColorsDictionary = {
colorBackgroundLoadingBarGenAi:
'linear-gradient(90deg, #99f7ff 0%, #0096fa 10%, #bf80ff 24%, #7300e5 50%, #bf80ff 76%, #0096fa 90%, #99f7ff 100%)',
colorBackgroundChatBubbleOutgoing: 'transparent',
colorBackgroundChatBubbleIncoming: { light: '{colorGrey150}', dark: '{colorGrey900}' },
colorBackgroundChatBubbleIncoming: { light: '{colorGrey125}', dark: '{colorGrey900}' },
colorTextChatBubbleOutgoing: '{colorTextBodyDefault}',
colorTextChatBubbleIncoming: '{colorTextBodyDefault}',
colorBorderButtonNormalActive: { light: '{colorBlue800}', dark: '{colorBlue400}' },
Expand Down

0 comments on commit d8a1a65

Please sign in to comment.