As angular official documentation says, ::ng-deep , >>>, /deep/
is deprecated and will be removed soon:
https://angular.io/guide/component-styles#deprecated-deep--and-ng-deep
If i am using mat
components like <mat-checkbox>
or a more comprehensive one like <mat-table>
how could I have some changes to that component from parent?
- Should I cancel view encapsulation for that component and write
styles in
.SCSS
files? - How do I edit styles of
inner
material angular component if deep selector is going to be removed? - What is the proper way to do that?