Skip to content

Commit

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

* Change files
  • Loading branch information
chrisdholt authored Feb 24, 2021
1 parent 8d5f072 commit d91f140
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": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "patch",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"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 d91f140

Please sign in to comment.