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

    Function getCSSVariable

    • Gets a CSS variable value from the document root.

      Parameters

      • name: string

        CSS variable name (with or without -- prefix)

      • fallback: string = ""

        Fallback value if variable is not found

      Returns string

      The CSS variable value or fallback