@shopify/polaris
Version:
Shopify’s admin product component library
9 lines (8 loc) • 631 B
TypeScript
import { Theme, ProcessedThemeConfig } from './types';
declare type CustomPropertiesObject = Record<string, string>;
export declare function buildCustomPropertiesNoMemo(themeConfig: ProcessedThemeConfig, tokens?: Record<string, string>): CustomPropertiesObject;
export declare function buildThemeContext(themeConfig: ProcessedThemeConfig, cssCustomProperties?: CustomPropertiesObject): Theme;
export declare function toString(obj?: CustomPropertiesObject): string;
export declare function toCssCustomPropertySyntax(camelCase: string): string;
export declare const buildCustomProperties: (...args: any[]) => any;
export {};