UNPKG

@reown/appkit-ui

Version:

The full stack toolkit to build onchain app UX.

54 lines (48 loc) 1.44 kB
import { css } from '../../utils/ThemeHelperUtil.js'; export default css ` button { display: flex; align-items: center; height: 40px; padding: ${({ spacing }) => spacing[2]}; border-radius: ${({ borderRadius }) => borderRadius[4]}; column-gap: ${({ spacing }) => spacing[1]}; background-color: transparent; transition: background-color ${({ durations }) => durations['lg']} ${({ easings }) => easings['ease-out-power-2']}; will-change: background-color; } wui-image, .icon-box { width: ${({ spacing }) => spacing[6]}; height: ${({ spacing }) => spacing[6]}; border-radius: ${({ borderRadius }) => borderRadius[4]}; } wui-text { flex: 1; } .icon-box { position: relative; } .icon-box[data-active='true'] { background-color: ${({ tokens }) => tokens.theme.foregroundSecondary}; } .circle { position: absolute; left: 16px; top: 15px; width: 8px; height: 8px; background-color: ${({ tokens }) => tokens.core.textSuccess}; box-shadow: 0 0 0 2px ${({ tokens }) => tokens.theme.foregroundPrimary}; border-radius: 50%; } /* -- Hover & Active states ----------------------------------------------------------- */ @media (hover: hover) { button:hover:enabled, button:active:enabled { background-color: ${({ tokens }) => tokens.theme.foregroundPrimary}; } } `; //# sourceMappingURL=styles.js.map