UNPKG

@reown/appkit-ui

Version:

The full stack toolkit to build onchain app UX.

76 lines (64 loc) 1.53 kB
import { css } from '../../utils/ThemeHelperUtil.js'; export default css ` :host { position: relative; background-color: ${({ tokens }) => tokens.theme.foregroundTertiary}; display: flex; justify-content: center; align-items: center; border-radius: inherit; border-radius: var(--local-border-radius); } :host([data-image='true']) { background-color: transparent; } :host > wui-flex { overflow: hidden; border-radius: inherit; border-radius: var(--local-border-radius); } :host([data-size='sm']) { width: 32px; height: 32px; } :host([data-size='md']) { width: 40px; height: 40px; } :host([data-size='lg']) { width: 56px; height: 56px; } :host([name='Extension'])::after { border: 1px solid ${({ colors }) => colors.accent010}; } :host([data-wallet-icon='allWallets'])::after { border: 1px solid ${({ colors }) => colors.accent010}; } wui-icon[data-parent-size='inherit'] { width: 75%; height: 75%; align-items: center; } wui-icon { color: ${({ tokens }) => tokens.theme.iconDefault}; } wui-icon[data-parent-size='sm'] { width: 24px; height: 24px; } wui-icon[data-parent-size='md'] { width: 32px; height: 32px; } :host > wui-icon-box { position: absolute; overflow: hidden; right: -1px; bottom: -2px; z-index: 1; border: 2px solid ${({ tokens }) => tokens.theme.backgroundPrimary}; padding: 1px; } `; //# sourceMappingURL=styles.js.map