Skip to content

Commit 451de26

Browse files
authored
fix: copilot header font (#5261)
* Fix: copilot header font to be defaulted to primary font * Update snapshots * Changelog
1 parent 0f4674e commit 451de26

File tree

17 files changed

+6
-4
lines changed

17 files changed

+6
-4
lines changed

CHANGELOG.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
3333
- (Experimental) Added pre-chat message with starter prompts, in PR [#5255](https://github.com/microsoft/BotFramework-WebChat/issues/5255), by [@compulim](https://github.com/compulim)
3434
- (Experimental) Added `isPrimary` props to Fluent UI send box. When set, will wire up with `useSendBoxValue` and works with starter prompts in pre-chat message, in PR [#5257](https://github.com/microsoft/BotFramework-WebChat/issues/5257), by [@compulim](https://github.com/compulim)
3535
- (Experimental) Expand Fluent theme support to activities and transcript, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
36-
- Added new Fluent UI theme variant "copilot" with updated styling and components, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
37-
- Introduced `ActivityDecorator` component for enhanced message styling and layout, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
38-
- Added `CopilotMessageHeader` component for displaying bot information in the "copilot" variant, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
39-
- Updated Fluent theme styling to improve accessibility and visual consistency, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
36+
- Added new Fluent UI theme variant "copilot" with updated styling and components, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
37+
- Introduced `ActivityDecorator` component for enhanced message styling and layout, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
38+
- Added `CopilotMessageHeader` component for displaying bot information in the "copilot" variant, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
39+
- Updated Fluent theme styling to improve accessibility and visual consistency, in PR [#5258](https://github.com/microsoft/BotFramework-WebChat/pull/5258), by [@OEvgeny](https://github.com/OEvgeny)
40+
- Fixed header font in copilot variant, in PR [#5261](https://github.com/microsoft/BotFramework-WebChat/pull/5261), by [@OEvgeny](https://github.com/OEvgeny)
4041

4142
### Changed
4243

packages/fluent-theme/src/components/activity/ActivityDecorator.module.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
:global(.webchat-fluent) .activity-decorator {
33
display: contents;
4+
font-family: var(--webchat__font--primary);
45

56
--webchat__bubble--inline-padding: var(--webchat-spacingHorizontalL);
67
--webchat__bubble--block-padding: var(--webchat-spacingVerticalM);

0 commit comments

Comments
 (0)