Skip to content

No central documentation of options @import options #2514

Description

@c-harding

The documentation for the input directive (https://tailwindcss.com/docs/functions-and-directives#import-directive) does not mention any options that can be passed.

The page Styling with utility classes (https://tailwindcss.com/docs/styling-with-utility-classes#using-the-important-flag) does document two options (important, prefix()). However, these are presented more as troubleshooting, and nowhere does it say if this list is exhaustive.

From looking at the source code, it would appear that layer(), theme(), source() and reference are also supported.

Therefore my request: document all of these on the functions and directives page (https://tailwindcss.com/docs/functions-and-directives#import-directive).

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