File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed
projects/material-css-vars/src/lib Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change 116116
117117// mixins
118118// ------
119- @mixin mat-css-color-and-contrast ($hue ) {
120- @warn " mat-css-color-and-contrast() is deprecated. Please use mat-css-color-and-contrast-primary() instead." ;
121- @include mat-css-color-and-contrast-primary ($hue );
122- }
123-
124119@mixin mat-css-color-and-contrast-primary ($hue ) {
125120 background : mat-css-color-primary ($hue );
126121 color : mat-css-contrast-color ($hue );
Original file line number Diff line number Diff line change @@ -191,29 +191,6 @@ export class MaterialCssVarsService {
191191 this . setWarnColor ( this . warn ) ;
192192 }
193193
194- /** @deprecated use setContrastColorThresholdPrimary instead */
195- changeContrastColorThresholdPrimary ( threshold : HueValue ) {
196- this . setContrastColorThresholdPrimary ( threshold ) ;
197- }
198-
199- /** @deprecated use setContrastColorThresholdAccent instead */
200- changeContrastColorThresholdAccent ( threshold : HueValue ) {
201- this . setContrastColorThresholdAccent ( threshold ) ;
202- }
203-
204- /** @deprecated use setContrastColorThresholdWarn instead */
205- changeContrastColorThresholdWarn ( threshold : HueValue ) {
206- this . setContrastColorThresholdWarn ( threshold ) ;
207- }
208-
209- /** @deprecated use setContrastColorThreshold instead */
210- changeContrastColorThreshold (
211- threshold : HueValue ,
212- palettePrefix : MatCssPalettePrefix ,
213- ) {
214- this . setContrastColorThreshold ( threshold , palettePrefix ) ;
215- }
216-
217194 getPaletteForColor ( hex : string ) : MatCssHueColorMapItem [ ] {
218195 if ( this . cfg . isAlternativeColorAlgorithm ) {
219196 return this . getTraditionalPaletteForColor ( hex ) ;
You can’t perform that action at this time.
0 commit comments