diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f3ed4e701..584936edb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Fix the order of the fela plugin @mnajdova ([#1461](https://github.com/stardust-ui/react/pull/1461)) - Fix `active` styles for `iconOnly` `MenuItem` in Teams theme @mnajdova ([#1464](https://github.com/stardust-ui/react/pull/1464)) - Fix keypress/click handling for `Popup` content @kuzhelov ([#1482](https://github.com/stardust-ui/react/pull/1482)) +- Fix `PopupContent` background color in Teams theme @mnajdova ([#1484](https://github.com/stardust-ui/react/pull/1484)) ### Documentation - Remove unfinished themes from the docs themes dropdown on components examples pages @alinais ([#1473](https://github.com/stardust-ui/react/pull/1473) diff --git a/packages/react/src/themes/teams/components/Popup/popupVariables.ts b/packages/react/src/themes/teams/components/Popup/popupVariables.ts index 3d4a031aa6..7e311d2280 100644 --- a/packages/react/src/themes/teams/components/Popup/popupVariables.ts +++ b/packages/react/src/themes/teams/components/Popup/popupVariables.ts @@ -6,6 +6,6 @@ export interface PopupVariables { export default (siteVars: any): PopupVariables => ({ zIndex: 1000, - contentColor: siteVars.bodyColor, - contentBackgroundColor: siteVars.bodyBackground, + contentColor: siteVars.colorScheme.default.foreground, + contentBackgroundColor: siteVars.colorScheme.default.background, })