@reown/appkit-ui
Version:
The full stack toolkit to build onchain app UX.
29 lines (27 loc) • 805 B
JavaScript
import { css } from '../../utils/ThemeHelperUtil.js';
export default css `
:host {
position: relative;
display: inline-block;
width: 100%;
}
wui-icon {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: ${({ spacing }) => spacing[3]};
color: ${({ tokens }) => tokens.theme.iconDefault};
cursor: pointer;
padding: ${({ spacing }) => spacing[2]};
background-color: transparent;
border-radius: ${({ borderRadius }) => borderRadius[4]};
transition: background-color ${({ durations }) => durations['lg']}
${({ easings }) => easings['ease-out-power-2']};
}
@media (hover: hover) {
wui-icon:hover {
background-color: ${({ tokens }) => tokens.theme.foregroundSecondary};
}
}
`;
//# sourceMappingURL=styles.js.map