Skip to content

Commit

Permalink
[web-components] Update card background color to from view (microsoft…
Browse files Browse the repository at this point in the history
…#17162)

* update card background color attribute to reflect from view

* Change files
  • Loading branch information
chrisdholt authored and joshualamusga1 committed Mar 25, 2021
1 parent eba6763 commit 948b63c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "update card background color attribute to reflect from view",
"packageName": "@fluentui/web-components",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "patch",
"packageName": "@fluentui/web-components",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/web-components/src/card/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class FluentCard extends FluentDesignSystemProvider {
*/
@attr({
attribute: 'card-background-color',
mode: 'fromView',
})
public cardBackgroundColor: string;
private cardBackgroundColorChanged(prev: string | void, next: string | void): void {
Expand Down

0 comments on commit 948b63c

Please sign in to comment.