Skip to content

Commit

Permalink
fix: inverse class on content header (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arne Vandoorslaer authored Dec 22, 2021
1 parent 6a61426 commit f1830b7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class CardComponent extends LitElement {
${!this.hideHeader
? html`
<card-header class="inverse">
<card-header>
<slot name="icon" slot="icon"></slot>
<slot name="title" slot="title"></slot>
<slot name="subtitle" slot="subtitle"></slot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ContentHeaderComponent extends LitElement {
}
:host.inverse {
:host(.inverse) {
background-color: var(--colors-primary-dark);
color: var(--colors-foreground-inverse);
fill: var(--colors-foreground-inverse);
Expand Down
20 changes: 20 additions & 0 deletions packages/dgt-components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f1830b7

Please sign in to comment.