Skip to content

Add cover support to at2x() mixin#1112

Open
janbrasna wants to merge 2 commits intomozilla:mainfrom
janbrasna:add/at2x-cover
Open

Add cover support to at2x() mixin#1112
janbrasna wants to merge 2 commits intomozilla:mainfrom
janbrasna:add/at2x-cover

Conversation

@janbrasna
Copy link
Contributor

Description

This special cases also the other keyword, missing in the logic, to avoid emitting invalid cover auto output.

Also updates the API doc strings to demonstrate single keyword use.

  • I have documented this change in the design system.
  • I have recorded this change in CHANGELOG.md.

Issue

Resolves #751

Testing

SASS Playground running some mixin variant args: https://t.ly/El0D4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

at2x mixin doesn't support single keyword values for background-size

1 participant