Skip to content

css syntax coloring doesn't work properly with css custom media #45

Description

@massimo-cassandro

CSS files using custom media queries (e.g. @media (--desktop-down) {..}) have incorrect syntax highlighting (see attached image)

Does this issue occur when all extensions are disabled?: Yes

It occurs in vscode insiders too

  • VS Code Version: 1.103.0
  • OS Version: OSX 15

Steps to Reproduce:

  1. Create a css file using custom media syntax
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions