Skip to content

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 age adoption passing confidence

Release Notes

johannesjo/angular-material-css-vars (angular-material-css-vars)

v6.0.1

Compare Source

Fixed

  • Fix the contrast color of FABs
  • Fix the ripple color of link, outlined and icon buttons

v6.0.0

Compare Source

Breaking Changes

  • Minimum required Angular version is now v17
  • The following deprecated symbols are removed:
    • mat-css-color-and-contrast mixin, can be replaced by mat-css-color-and-contrast-primary
    • changeContrastColorThresholdPrimary() function, can be replaced by setContrastColorThresholdPrimary()
    • changeContrastColorThresholdAccent() function, can be replaced by setContrastColorThresholdAccent()
    • changeContrastColorThresholdWarn() function, can be replaced by setContrastColorThresholdWarn()
    • changeContrastColorThreshold() function, can be replaced by setContrastColorThreshold()
  • MaterialCssVarsService's attribute isDarkTheme can now be undefined, 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 without src/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 of rgba(0, 0, 0, 0.87), as it leads to better contrast.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Particify Dependency Bot

Merge request reports