I am using angular material mat-form-field
. I have a dark background, and therefore am trying to change the border of the form-field to white. But I am not able to achieve it using css. No, matter what changes I do in the css, they are not reflecting back into the mat-form-field
. Here is the link to my code:
Any help would be highly appreciated. Thanks.
Add this CSS to your form-field-appearance-example.css:
Though, there is still a problem while the field is focused.
For the newer outlined form fields, solved it this way:
SCSS
version of @sasa with colors as variablesI think this will cover everything.