I am using Angular Material for my project and I want to change color of mat-checkbox, but don't want to use theming, so obviusly I used Elements and Styles sections in my Chrome Browser and traced classes which mat-checkbox uses and found this: ".mat-checkbox-ripple .mat-ripple-element".
::ng-deep .mat-checkbox-ripple .mat-ripple-element {
background-color: black!important;
}
So, this is my code, I tried ::ng-deep, /deep/ and without any of those, and result is always the same, checkbox color is not changed, but in "Styles" I can clearly see that it says that I have overwritten its color.
Here are versions of things I use:
"@angular/animations": "^7.1.4",
"@angular/cdk": "^7.2.0",
"@angular/common": "~7.1.0",
"@angular/compiler": "~7.1.0",
"@angular/core": "~7.1.0",
"@angular/forms": "~7.1.0",
"@angular/material": "^7.2.0",
"@angular/platform-browser": "~7.1.0",
"@angular/platform-browser-dynamic": "~7.1.0",
"@angular/router": "~7.1.0",
How can I change color?


