@reown/appkit-ui
Version:
The full stack toolkit to build onchain app UX.
29 lines (26 loc) • 813 B
JavaScript
import { css } from '../../utils/ThemeHelperUtil.js';
export default css `
:host {
position: relative;
display: flex;
width: 100%;
height: 1px;
background-color: ${({ tokens }) => tokens.theme.borderPrimary};
justify-content: center;
align-items: center;
}
:host > wui-text {
position: absolute;
padding: 0px 8px;
transition: background-color ${({ durations }) => durations['lg']}
${({ easings }) => easings['ease-out-power-2']};
will-change: background-color;
}
:host([data-bg-color='primary']) > wui-text {
background-color: ${({ tokens }) => tokens.theme.backgroundPrimary};
}
:host([data-bg-color='secondary']) > wui-text {
background-color: ${({ tokens }) => tokens.theme.foregroundPrimary};
}
`;
//# sourceMappingURL=styles.js.map