UNPKG

@reown/appkit-ui

Version:

The full stack toolkit to build onchain app UX.

64 lines (57 loc) 1.65 kB
import { css } from '../../utils/ThemeHelperUtil.js'; export default css ` button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: ${({ spacing }) => spacing[4]}; background-color: ${({ tokens }) => tokens.theme.foregroundPrimary}; border-radius: ${({ borderRadius }) => borderRadius[3]}; border: none; padding: ${({ spacing }) => spacing[3]}; transition: background-color ${({ durations }) => durations['lg']} ${({ easings }) => easings['ease-out-power-2']}; will-change: background-color; } /* -- Hover & Active states ----------------------------------------------------------- */ button:hover:enabled, button:active:enabled { background-color: ${({ tokens }) => tokens.theme.foregroundSecondary}; } wui-text { flex: 1; color: ${({ tokens }) => tokens.theme.textSecondary}; } wui-flex { width: auto; display: flex; align-items: center; gap: ${({ spacing }) => spacing['01']}; } wui-icon { color: ${({ tokens }) => tokens.theme.iconDefault}; } .network-icon { position: relative; width: 20px; height: 20px; border-radius: ${({ borderRadius }) => borderRadius[4]}; overflow: hidden; margin-left: -8px; } .network-icon:first-child { margin-left: 0px; } .network-icon:after { position: absolute; inset: 0; content: ''; display: block; height: 100%; width: 100%; border-radius: ${({ borderRadius }) => borderRadius[4]}; box-shadow: inset 0 0 0 1px ${({ tokens }) => tokens.core.glass010}; } `; //# sourceMappingURL=styles.js.map