Update dependency angular-material-css-vars to v6
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
angular-material-css-vars | 5.0.3 -> 6.0.1 |
Release Notes
johannesjo/angular-material-css-vars (angular-material-css-vars)
v6.0.1
Fixed
- Fix the contrast color of FABs
- Fix the ripple color of link, outlined and icon buttons
v6.0.0
Breaking Changes
- Minimum required Angular version is now v17
- The following deprecated symbols are removed:
-
mat-css-color-and-contrast
mixin, can be replaced bymat-css-color-and-contrast-primary
-
changeContrastColorThresholdPrimary()
function, can be replaced bysetContrastColorThresholdPrimary()
-
changeContrastColorThresholdAccent()
function, can be replaced bysetContrastColorThresholdAccent()
-
changeContrastColorThresholdWarn()
function, can be replaced bysetContrastColorThresholdWarn()
-
changeContrastColorThreshold()
function, can be replaced bysetContrastColorThreshold()
-
-
MaterialCssVarsService
's attributeisDarkTheme
can now beundefined
, which may cause TypeScript errors in rare cases
Deprecations
-
SCSS entry points prefixed by
angular-material-css-vars/src/lib/
are deprecated, please use the single entrypoint or the entrypoints withoutsrc/lib
instead. Example:@​use "angular-material-css-vars/src/lib/main" as css-vars; // is deprecated now @​use "angular-material-css-vars" as css-vars; // preferred syntax @​use "angular-material-css-vars/main" as css-vars; // also works
Fixes
- Auto contrast algorithm was improved. There were edge cases where the previously used algorithm would not choose the color with the best contrast. You may see a different contrast color in your applications.
-
#000000
is now used as a contrast color instead ofrgba(0, 0, 0, 0.87)
, as it leads to better contrast.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Particify Dependency Bot