@reown/appkit-ui
Version:
The full stack toolkit to build onchain app UX.
46 lines (41 loc) • 991 B
JavaScript
import { css } from '../../utils/ThemeHelperUtil.js';
export default css `
:host {
position: relative;
border-radius: inherit;
display: flex;
justify-content: center;
align-items: center;
width: var(--local-width);
height: var(--local-height);
}
:host([data-round='true']) {
background: ${({ tokens }) => tokens.theme.foregroundPrimary};
border-radius: 100%;
outline: 1px solid ${({ tokens }) => tokens.core.glass010};
}
svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
svg > path {
stroke: var(--local-stroke);
}
wui-image {
width: 100%;
height: 100%;
-webkit-clip-path: var(--local-path);
clip-path: var(--local-path);
background: ${({ tokens }) => tokens.theme.foregroundPrimary};
}
wui-icon {
transform: translateY(-5%);
width: var(--local-icon-size);
height: var(--local-icon-size);
}
`;
//# sourceMappingURL=styles.js.map