@reown/appkit-ui
Version:
The full stack toolkit to build onchain app UX.
55 lines (50 loc) • 1.07 kB
JavaScript
import { css } from '../../utils/ThemeHelperUtil.js';
export default css `
:host {
display: inline-flex;
align-items: center;
justify-content: center;
}
.pulse-container {
position: relative;
width: var(--pulse-size);
height: var(--pulse-size);
display: flex;
align-items: center;
justify-content: center;
}
.pulse-rings {
position: absolute;
inset: 0;
pointer-events: none;
}
.pulse-ring {
position: absolute;
inset: 0;
border-radius: 50%;
border: 2px solid var(--pulse-color);
opacity: 0;
animation: pulse var(--pulse-duration, 2s) ease-out infinite;
}
.pulse-content {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
}
@keyframes pulse {
0% {
transform: scale(0.5);
opacity: var(--pulse-opacity, 0.3);
}
50% {
opacity: calc(var(--pulse-opacity, 0.3) * 0.5);
}
100% {
transform: scale(1.2);
opacity: 0;
}
}
`;
//# sourceMappingURL=styles.js.map