Skip to content

@apply broken for peer-* with 7.1.3 #320

Closed

Description

@aleho

With 7.1.2 this works:

.btn-toggle {
    @apply peer-focus:ring-2 peer-focus:ring-offset-2;
}

With 7.1.3 an error is thrown:

The peer-focus:ring-2 class does not exist. If peer-focus:ring-2 is a custom class, make sure it is defined within a @layer directive.

Activity

  1. MoOx commented on Jun 11, 2026

    @MoOx
    Collaborator

    Duplicate as #321

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions