Skip to content

[BUG]: XDS variants not working  #1689

@AdrianArenal

Description

@AdrianArenal

Environment affected

Motive Market consumer

Description

When installing the x plugin and adding a variant internally with:helpers.addVariant('selected', '&.selected');
This variant is not having any matches since we are not using the prefix: '-x' option, and X is expecting to have x-selected classes, not selected.

Current behavior and expected result

selected:bg-gray-200 is not applied because we don't find .bg-gray.selectedcombination, the right combination is .bg-gray.x-selected. but since we are not using prefix: -x on the plugin config, we are not being able to match the selector for the selected variant.

Steps to reproduce

No response

Package affected

No response

Supporting information

We cannot rely on prefixes on this variants,

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions