UNPKG

@reown/appkit-scaffold-ui

Version:

The full stack toolkit to build onchain app UX.

54 lines (47 loc) 1.24 kB
import { css } from '@reown/appkit-ui'; export default css ` wui-flex { width: 100%; } .suggestion { background-color: ${({ tokens }) => tokens.theme.foregroundPrimary}; border-radius: ${({ borderRadius }) => borderRadius[4]}; } .suggestion:hover:not(:disabled) { cursor: pointer; border: none; width: 100%; display: flex; justify-content: space-between; align-items: center; background-color: ${({ tokens }) => tokens.theme.foregroundSecondary}; border-radius: ${({ borderRadius }) => borderRadius[6]}; padding: ${({ spacing }) => spacing[4]}; } .suggestion:disabled { opacity: 0.5; cursor: default; } .suggestion:focus-visible:not(:disabled) { box-shadow: 0 0 0 4px ${({ tokens }) => tokens.core.foregroundAccent040}; background-color: ${({ tokens }) => tokens.theme.foregroundSecondary}; } .suggested-name { max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } form { width: 100%; position: relative; } .input-submit-button, .input-loading-spinner { position: absolute; top: 22px; transform: translateY(-50%); right: 10px; } `; //# sourceMappingURL=styles.js.map