graycoreio/daffodil

View on GitHub
libs/design/card/examples/src/card-theming/card-theming.component.html

Summary

Maintainability
Test Coverage
<daff-card [color]="colorControl.value">
  <div daffCardTagline>Card Tagline</div>
  <div daffCardTitle>Title</div>
  <div daffCardContent>
    <p>Cards are themable.</p>
  </div>
</daff-card>

<select [formControl]="colorControl">
    <option *ngFor="let option of options" [value]="option.value">{{ option.label }}</option>
</select>