mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
import { slateDarkA } from '@radix-ui/colors';
|
|
import { keyframes, style } from '@vanilla-extract/css';
|
|
|
|
const animation = keyframes({
|
|
'0%': { backgroundColor: slateDarkA.slateA2 },
|
|
'50%': { backgroundColor: slateDarkA.slateA3 },
|
|
'100%': { backgroundColor: slateDarkA.slateA2 },
|
|
});
|
|
|
|
export const skeleton = style({
|
|
borderRadius: 8,
|
|
animation: `${animation} 2s ease-in-out infinite`,
|
|
});
|