#How to change css mat-label angular material

1 messages · Page 1 of 1 (latest)

gilded acorn
#

I would start with putting more effort in both the question's title and the question itself.

brisk mantle
#

How to change css mat-label angular material

fallen vine
#

I think (without knowing it exactly) that angular material components can only be overwritten by defining the specific style in a global stylesheet (styles.scss or global.scss)

Inside this file, you would need to specify something like:

.mat-label {
  color: red;
}
#

maybe the '.mat-label' classname is the wrong but I think this is how it has to be done

#

What do you mean?

#

Normally it is appended to the element and can be seen in the DOM

#

Besides that you can read about in the component documentation

fallen vine
#

This definitely isnt the right selector/class name