Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Function getCSSVariable

    • Gets a CSS variable value from the document root element.

      Parameters

      • name: string

        CSS variable name (with or without -- prefix).

      • fallback: string = ""

        Fallback value if the variable is not found.

      Returns string

      The resolved CSS variable value or the fallback string.