Skip to content

Add support for latest syntax in @import #20

Description

For example :

Screenshot 2023-09-14 at 15 00 28
@import url("green.css") layer supports(selector(&)) (min-width: calc(10px));

/* layer as a function */
@import url("green.css") layer(bar) supports(selector(&)) (min-width: calc(10px));

Existing things like 10px have correct syntax highlighting even in @import statement.

Missing syntax highlighting :

  • declarations in supports()
  • selectors in supports()
  • any function

Activity

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