Capítulo 105 de 147
Learn how to adjust the color of icons in your Angular application using the color input or by using parent elements text color value.
color inputimport { Component, ViewEncapsulation } from "@angular/core";
import { LucideSmile } from "@lucide/angular";
@Component({
selector: 'app',
imports: [LucideSmile],
template: `<svg lucideSmile color="#3e9392" />`,
styleUrls: ['./app.component.css'],
encapsulation: ViewEncapsulation.None,
})
export class App {
}
color input