KC's Workspace
    Preparing search index...

    Interface LayerBlockRule<D, M>

    A @layer block rule.

    interface LayerBlockRule<D = Declaration, M = MediaQuery> {
        loc: Location2;
        name?: string[] | null;
        rules: Rule<D, M>[];
    }

    Type Parameters

    Index

    Properties

    Properties

    The location of the rule in the source file.

    name?: string[] | null

    The name of the layer to declare, or None to declare an anonymous layer.

    rules: Rule<D, M>[]

    The rules within the @layer rule.