Function cssObjectToString

  • Converts the css object returned by Theme to a string.

    Can be used to, for example, set the inner html of a style element directly.

    styleEl.innerHTML = `:root{\n${cssObjectToString(baseTheme.css)}\n}`
    

    Parameters

    • obj: Record<string, string>

    Returns string

Generated using TypeDoc