UNPKG

@wordpress/global-styles-ui

Version:
15 lines • 674 B
export interface ShadowObject { x: string; y: string; blur: string; spread: string; color: string; inset: boolean; } export declare function getShadowParts(shadow: string): string[]; export declare function shadowStringToObject(shadowValue: string): ShadowObject; export declare function shadowObjectToString(shadowObj: ShadowObject): string; export type TextShadowObject = Pick<ShadowObject, 'x' | 'y' | 'blur' | 'color'>; export declare function textShadowStringToObject(textShadowValue: string): TextShadowObject; export declare function textShadowObjectToString(textShadowObj: TextShadowObject): string; //# sourceMappingURL=shadow-utils.d.ts.map