MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / printCssKeyframes

Function printCssKeyframes

packages/cli/src/commands/keyframes.ts:814–825  ·  view source on GitHub ↗
(cssKeyframes: SurfacedCssKeyframes)

Source from the content-addressed store, hash-verified

812}
813
814function printCssKeyframes(cssKeyframes: SurfacedCssKeyframes): void {
815 const selectors = cssKeyframes.selectors.length
816 ? cssKeyframes.selectors.join(", ")
817 : "(no selector found)";
818 console.log(
819 ` ${c.accent(`@keyframes ${cssKeyframes.name}`)}${c.dim(" css")} ${c.dim(selectors)}`,
820 );
821 for (const stop of cssKeyframes.keyframes) {
822 console.log(` ${c.dim(`${stop.selector} {${stop.declarations.join("; ")}}`)}`);
823 }
824 console.log();
825}
826
827function printAnime(anime: SurfacedAnimeAnimation): void {
828 const targets = anime.targets.length ? anime.targets.join(", ") : "(targets not parsed)";

Callers 1

printCompositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected