Skip to content

a11y/media-prefers-reduced-motion: doesn't work with mixins #63

@mayank99

Description

@mayank99

We have a lot of code in our project that does something like this:

@mixin some-mixin {
  transition: all 0.2s ease-out;
  // ... other code
}

and we use those mixins like so:

.some-class {
  @include some-mixin;
  // ... other code
}

It would be useful if the plugin could error out either inside the mixin or where it's used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions