UNPKG

@reown/appkit-scaffold-ui

Version:

The full stack toolkit to build onchain app UX.

124 lines (106 loc) 2.99 kB
import { css } from '@reown/appkit-ui'; export default css ` wui-icon-link { margin-right: calc(${({ spacing }) => spacing['8']} * -1); } wui-notice-card { margin-bottom: ${({ spacing }) => spacing['1']}; } wui-list-item > wui-text { flex: 1; } w3m-transactions-view { max-height: 200px; } .balance-container { display: inline; } .tab-content-container { height: 300px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; } .symbol { transform: translateY(-2px); } .tab-content-container::-webkit-scrollbar { display: none; } .account-button { width: auto; border: none; display: flex; align-items: center; justify-content: center; gap: ${({ spacing }) => spacing['3']}; height: 48px; padding: ${({ spacing }) => spacing['2']}; padding-right: ${({ spacing }) => spacing['3']}; box-shadow: inset 0 0 0 1px ${({ tokens }) => tokens.theme.foregroundPrimary}; background-color: ${({ tokens }) => tokens.theme.foregroundPrimary}; border-radius: ${({ borderRadius }) => borderRadius[6]}; transition: background-color ${({ durations }) => durations['lg']} ${({ easings }) => easings['ease-out-power-2']}; } .account-button:hover { background-color: ${({ tokens }) => tokens.core.glass010}; } .avatar-container { position: relative; } wui-avatar.avatar { width: 32px; height: 32px; box-shadow: 0 0 0 2px ${({ tokens }) => tokens.core.glass010}; } wui-wallet-switch { margin-top: ${({ spacing }) => spacing['2']}; } wui-avatar.network-avatar { width: 16px; height: 16px; position: absolute; left: 100%; top: 100%; transform: translate(-75%, -75%); box-shadow: 0 0 0 2px ${({ tokens }) => tokens.core.glass010}; } .account-links { display: flex; justify-content: space-between; align-items: center; } .account-links wui-flex { cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 1; background: red; align-items: center; justify-content: center; height: 48px; padding: 10px; flex: 1 0 0; border-radius: var(--XS, 16px); border: 1px solid var(--dark-accent-glass-010, rgba(71, 161, 255, 0.1)); background: var(--dark-accent-glass-010, rgba(71, 161, 255, 0.1)); transition: background-color ${({ durations }) => durations['md']} ${({ easings }) => easings['ease-out-power-1']}, opacity ${({ durations }) => durations['md']} ${({ easings }) => easings['ease-out-power-1']}; will-change: background-color, opacity; } .account-links wui-flex:hover { background: var(--dark-accent-glass-015, rgba(71, 161, 255, 0.15)); } .account-links wui-flex wui-icon { width: var(--S, 20px); height: var(--S, 20px); } .account-links wui-flex wui-icon svg path { stroke: #667dff; } `; //# sourceMappingURL=styles.js.map