#2869·unocss

variant-group: left-side group

Author: IlyaSemenovCreated Jul 14, 2023Updated Sep 29, 2026
Labelsenhancementtransformer-variant-group

Clear and concise description of the problem

As a developer using UnoCSS with transformer-variant-group, I want to put groups at the left side of the expression, such as in:

border-1 (first last)-border-0

expanding to:

border-1 first-border-0 last-border-0

Currently, that does not work, the groups only expand when they are on the right side.

Suggested solution

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the README.md of using the package.
  • Already used the Interactive Docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.