Skip to content

layer should be read from @import #326

Closed
@bartveneman

Description

@bartveneman

From Adam Argyle's CodePen:

@import "https://unpkg.com/open-props" layer(base);
@import "https://unpkg.com/open-props/normalize.min.css" layer(base);
@import "https://unpkg.com/open-props/oklch-hues.min.css" layer(base);
@import "https://unpkg.com/open-props/gray-oklch.min.css" layer(base);

I'd expect base to be a layer name, but currently no layers are reported. The same goes for supports() queries.

CSSTree issue: csstree/csstree#259

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions