Skip to content

Commit

Permalink
Remove hard coded Card background color in favor of Design System pai…
Browse files Browse the repository at this point in the history
…nt API (#17070)

* remove hard coded background color in favor of default design system behavior

* Change files
  • Loading branch information
chrisdholt authored Feb 19, 2021
1 parent 4f05f33 commit 0f7fa18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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"
}
1 change: 0 additions & 1 deletion packages/web-components/src/card/card.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit 0f7fa18

Please sign in to comment.