@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
23 lines (22 loc) • 663 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.operationUnit = void 0;
// eslint-disable-next-line import/prefer-default-export
const operationUnit = token => ({
// FIXME: This use link but is a operation unit. Seems should be a colorPrimary.
// And Typography use this to generate link style which should not do this.
color: token.colorLink,
textDecoration: 'none',
outline: 'none',
cursor: 'pointer',
transition: `color ${token.motionDurationSlow}`,
'&:focus, &:hover': {
color: token.colorLinkHover
},
'&:active': {
color: token.colorLinkActive
}
});
exports.operationUnit = operationUnit;
;