goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
23 lines • 891 B
TypeScript
/**
* Creates and injects CSS keyframes animations and returns the animation name
* @param name - The name for the keyframes animation
* @param animation - The CSS keyframes content (without @keyframes wrapper)
* @returns The animation name to be used in CSS animation properties
*/
export declare const keyframes: (name: string, animation: string) => string;
/**
* Template literal version for styled-components-like syntax
* @param strings - Template literal strings
* @param values - Template literal values
* @returns Generated animation name
*/
export declare const css: (strings: TemplateStringsArray, ...values: any[]) => string;
/**
* Common keyframes that can be reused across components
*/
export declare const commonKeyframes: {
sacredGlowPulse: () => string;
rotateGlyph: () => string;
sacredFloat: () => string;
};
//# sourceMappingURL=keyframes.d.ts.map