I have a component for a textbox that I use for all login fields. Inside it I have a switch through I give particular features; example:
case 'password':
this.textField.nativeElement.secure = true;
I created another field inside the switch and I want to assign it a class in the global css because I need to change the color and the text-size only for this case. How can I do it?