From bcb6337b1d38e79fbe335d1c1245f30e203708ee Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Thu, 18 Feb 2021 19:19:58 -0800 Subject: [PATCH 1/2] remove hard coded background color in favor of default design system behavior --- packages/web-components/src/card/card.styles.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/web-components/src/card/card.styles.ts b/packages/web-components/src/card/card.styles.ts index e1a0b239a48fe..f59791aca6697 100644 --- a/packages/web-components/src/card/card.styles.ts +++ b/packages/web-components/src/card/card.styles.ts @@ -11,7 +11,6 @@ export const CardStyles = css` height: var(--card-height, 100%); width: var(--card-width, 100%); box-sizing: border-box; - background: var(--background-color); border-radius: calc(var(--elevated-corner-radius) * 1px); ${elevation} } From a07a5e1892ba56153de195e704fec4f2cba95782 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Thu, 18 Feb 2021 19:23:43 -0800 Subject: [PATCH 2/2] Change files --- ...eb-components-a72ef440-3364-4e9a-ac54-ead7689aa485.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@fluentui-web-components-a72ef440-3364-4e9a-ac54-ead7689aa485.json diff --git a/change/@fluentui-web-components-a72ef440-3364-4e9a-ac54-ead7689aa485.json b/change/@fluentui-web-components-a72ef440-3364-4e9a-ac54-ead7689aa485.json new file mode 100644 index 0000000000000..7770e50842abf --- /dev/null +++ b/change/@fluentui-web-components-a72ef440-3364-4e9a-ac54-ead7689aa485.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "remove hard coded background color in favor of default design system behavior", + "packageName": "@fluentui/web-components", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch" +}