angular-material-css-vars icon indicating copy to clipboard operation
angular-material-css-vars copied to clipboard

Little library to use css variables with @angular/material

Results 19 angular-material-css-vars issues
Sort by recently updated
recently updated
newest added

Hi, I updated your library in my project from v1.1.x to v2.1.2 today and unfortunately the `mat-css-set-palette-defaults` mixin doesn't work anymore (angular material was updated from v11 to v12, too)....

bug
help wanted

I'm wondering if I have messed something up. The only way I can import the material-css-vars main file is by using this import @import 'angular-material-css-vars/src/lib/_main'; Has something changed and the...

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. Commits 3d81dc3 Release version 1.14.8 of the npm package. 62e546a Drop confidential headers across schemes. See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.14.7&new-version=1.14.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...

dependencies

Why did you remove initialization for $default-theme? ``` @include _mat-css-root($default-theme); ``` https://github.com/johannesjo/angular-material-css-vars/blob/20940b30bbd5a7bf54d55ded00e2f2a457923ab5/projects/material-css-vars/src/lib/_main.scss#L12

Currently this library does not provide a changelog (as far as I can see). This makes it hard to find out if there are breaking changes. For example, I don't...

enhancement
help wanted

## :ghost: Brief Description The input fields don't have proper colors for `mat-form-field-underline`. Look at these images and notice the underline color. (I am not interacting with the input) Before...

bug

## :ghost: Brief Description The same variable is used for card background and drawer backdrop: `--palette-background-card`. Changing this variable also leads to changing drawer bg color (see `.mat-drawer-backdrop` class) ##...

enhancement
help wanted

Hi, * Do we have any option to apply the font-styles dynamically similar to apply theme color dynamically ? ```typescript const hex = '#3f51b5'; this.materialCssVarsService.setDarkTheme(true); this.materialCssVarsService.setPrimaryColor(hex); this.materialCssVarsService.setVariable(MaterialCssVariables.BackgroundCard,hex); this.materialCssVarsService.setAccentColor('#333'); ```

help wanted

The documentation encourages to use the `@import` rule to load the necessary SCSS files from the library. A while ago, the Sass team introduced a [new module system](https://sass-lang.com/blog/the-module-system-is-launched) with the...

Summary - I've noticed the mapping of css variables is incorrect for the following properties: default, lighter, darker, text, default-contrast, lighter-contrast, darker-contrast. The reason is that the `mat-palette()` calls used...