The `DaffColorableDirective` allows a component to conditionally apply color-specific styles by setting CSS classes based on the specified color. This directive is useful for applying different color palettes to a component in an Angular application. ## Usage ## Example ```html
'[daffColorable]'
Name | Type | Description | |||
---|---|---|---|---|---|
@Input() color | DaffPalette |
Sets the color on a component. | defaultColor | DaffPalette |
Sets a default color. |
ngOnChanges | |||||
ngOnInit |