Skip to content

Improve documentation of @use #1498

@cmahnke

Description

@cmahnke

I won't give much backstory here but it's related to the deprecation of @import:

Currently the documentation of @use is not helpful in regards of combinations. Examples (or a formal description) would be nice.

Example:

@use "npm-fonts/space-mono" with (
  $font-base-path: '../'
) as *;

This invalid.

The right order is:

@use "npm-fonts/space-mono" as * with (
  $font-base-path: '../'
);

So please either clearify the existing documentation (easy) or make the order irrelevant (so that every variant above works) (certainly hard).

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