Skip to content

Intellisense plugin incorrectly flagging responsive variant as invalid #324

Closed
@lukebennett88

Description

@lukebennett88

Hey Brad (and Tailwind Labs team).

I created a utility class today like this:

@layer utilities {
  @variants responsive {
    .writing-mode-vertical-lr {
      writing-mode: vertical-lr;
    }
  }
}

This is valid and event mentioned in the docs.

Unfortunately VS Code gives me the following error message:
The variant 'responsive' does not exist. Did you mean 'rtl'?(invalidVariant)

I'm pretty sure this is a bug introduced in the recent release from a few days ago, as I've written code like this before without getting a warning.

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