-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
What is the expected behavior?
For the spelling of contrast to be correct.
border-color: mat-color($primary, '100-contrast');
What is the current behavior?
Currently it is
border-color: mat-color($primary, '100-constrast');
Giving me an error when used
ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
$opacity: if($opacity == null, opacity($color), $opacity);
^
Argument $color of opacity($color) must be a color
in /node_modules/@angular/material/_theming.scss (line 1293, column 34)
What are the steps to reproduce?
last code block and last line on this page
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
7.3.0
Is there anything else we should know?
This is my first summit issue apologises if I should have done anything differently