-
Notifications
You must be signed in to change notification settings - Fork 51
fix(Chat): update ChatMessage styles in Teams themes #1246
Changes from all commits
8734cd8
f908a09
7606ddb
5b85ff3
d4b058b
6b54f3b
e6d0f09
ba35ad3
7a1760c
8736193
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,8 +11,10 @@ export interface ChatMessageVariables { | |
| offset: string | ||
| padding: string | ||
| authorMarginRight: string | ||
| authorColor: string | ||
| authorFontWeight: number | ||
| headerMarginBottom: string | ||
| contentColor: string | ||
| contentFocusOutlineColor: string | ||
| border: string | ||
| badgeShadow: string | ||
|
|
@@ -37,8 +39,10 @@ export default (siteVars): ChatMessageVariables => ({ | |
| offset: pxToRem(100), | ||
| padding: pxToRem(16), | ||
| authorMarginRight: pxToRem(12), | ||
| authorFontWeight: siteVars.fontWeightBold, | ||
| authorColor: siteVars.gray02, // will be gray[500] with new palette | ||
| authorFontWeight: siteVars.fontWeightRegular, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this even needed if it's regular?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right, we don't need it. But we already have this variable and I don't want to remove it because it will be a breaking change... |
||
| headerMarginBottom: pxToRem(2), | ||
| contentColor: '#252423', // will be gray[750] with new palette | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But |
||
| contentFocusOutlineColor: siteVars.colors.primary[500], | ||
| border: 'none', | ||
| badgeShadow: siteVars.shadowLevel1Darker, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 My bad for not updating this change. We should update this on other places (Menu is the first one that pops out of my mind), but I will take care of those changes.