Converts a theme object to a CSS variables object for the CDP web component library.
The theme object to convert.
A CSS variables object.
const themeOverrides: Partial<Theme> = { "color-bg-primary": "red",};// { "--cdp-web-color-bg-primary": "red" }const cssVariables = themeToCssVariables(themeOverrides Copy
const themeOverrides: Partial<Theme> = { "color-bg-primary": "red",};// { "--cdp-web-color-bg-primary": "red" }const cssVariables = themeToCssVariables(themeOverrides
Converts a theme object to a CSS variables object for the CDP web component library.