igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
12 lines (11 loc) • 431 B
TypeScript
/**
* Retrieves all CSS custom properties from the document root element.
* Property names are converted from kebab-case to camelCase.
*
* @returns An object mapping camelCase property names to their values.
* Returns an empty object in SSR environments.
* @example
* // CSS: --my-primary-color: #ff0000;
* // Returns: { myPrimaryColor: '#ff0000' }
*/
export declare function getAllCssVariables(): Record<string, string>;