components icon indicating copy to clipboard operation
components copied to clipboard

mixin override for mat-slider-theme doesn't work

Open hags033 opened this issue 7 years ago • 2 comments

Bug, feature request, or proposal:

I have used mixin overrides for styling of material elements for awhile, recently the mixin for mat-slider-theme() stopped overriding base styles. I did just remove @mixin mat-slider-theme() {} and just left my class overrides in my global stylesheet and this now works. I do have other mixins in the stylesheet that work for other material elements.

What is the expected behavior?

I would expect mixins to still work.

What is the current behavior?

style overrides wrapped in mixin braces do not work.

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 7.2.1 Material 7.2.1

Is there anything else we should know?

hags033 avatar Jan 14 '19 17:01 hags033

It looks like its working for me, here's a stackblitz: https://stackblitz.com/edit/components-issue-kgqwke?file=src/styles.scss

mmalerba avatar May 26 '20 18:05 mmalerba

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.