Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 47b6417

Browse files
authored
fix(Chat): update me message background color for dark theme (#1256)
* fixing me message background color for dark theme * add entry to changelog
1 parent b004e54 commit 47b6417

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2020
### Fixes
2121
- Update `ChatMessage` styles in Teams themes @layershifter ([#1246](https://github.com/stardust-ui/react/pull/1246))
2222
- Fix Teams theme styles for `Alert` [redlines] @codepretty ([#1226](https://github.com/stardust-ui/react/pull/1226))
23+
- Update background color in Teams dark theme for `Chat` message background color @codepretty ([#1256](https://github.com/stardust-ui/react/pull/1256))
2324
- Fix selected status of `Dropdown` when focus is on the `List` @silviuavram ([#1258](https://github.com/stardust-ui/react/pull/1258))
2425
- Fix `propTypes` warning in `ListItem` @layershifter ([#1266](https://github.com/stardust-ui/react/pull/1266))
2526
- Expand css shorthands for correct merging of the styles @mnajdova ([#869](https://github.com/stardust-ui/react/pull/869))

packages/react/src/themes/teams-dark/components/Chat/chatMessageVariables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ChatMessageVariables } from '../../../teams/components/Chat/chatMessage
33
export default (siteVars: any): Partial<ChatMessageVariables> => {
44
return {
55
backgroundColor: siteVars.gray10,
6-
backgroundColorMine: '#3B3C54',
6+
backgroundColorMine: '#33344a', // colors.primary[900] when new palette pr is checked in
77
authorColor: siteVars.gray02, // will be gray[250] with new palette
88
contentColor: siteVars.colors.white,
99
color: siteVars.colors.white,

packages/react/src/themes/teams/components/Chat/chatMessageVariables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default (siteVars): ChatMessageVariables => ({
3333
actionMenuPositionRight: pxToRem(5),
3434
actionMenuPositionTop: pxToRem(-30),
3535
backgroundColor: siteVars.colors.white,
36-
backgroundColorMine: '#E5E5F1',
36+
backgroundColorMine: '#E5E5F1', // colors.primary[100] when new color palette pr is checked in
3737
borderRadius: pxToRem(3),
3838
color: 'rgb(64, 64, 64)',
3939
offset: pxToRem(100),

0 commit comments

Comments
 (0)