Skip to content

Enabling compass sprite classes to be output as placeholders #1005

Open
@superbland

Description

@superbland

Currently this code:

@import "site/*.png";
@include all-site-sprites;

Produces an output that contains a list of classes relating to the background image and positions that can be extended. Since the recent addition of placeholders and the move to prevent extending from within media directives, it will be impossible to extend these classes without potentially having massive amounts of duplicate code within the media query.

Using placeholders instead of classes (or allowing a choice) would mean that a mixin containing sprite css could be included without unnecessary duplication.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions