{"version":3,"file":"operationUnit.cjs","sources":["../../../../../packages/theme/style/operationUnit.ts"],"sourcesContent":["import type { CSSObject } from '../cssinjs';\nimport type { DerivativeToken } from '../token';\n\nexport function operationUnit(token: DerivativeToken): CSSObject {\n  return {\n  // FIXME: This use link but is a operation unit. Seems should be a colorPrimary.\n  // And Typography use this to generate link style which should not do this.\n    'color': token.colorLink,\n    'textDecoration': 'none',\n    'outline': 'none',\n    'cursor': 'pointer',\n    'transition': `color ${token.motionDurationSlow}`,\n\n    '&:focus, &:hover': {\n      color: token.colorLinkHover,\n    },\n\n    '&:active': {\n      color: token.colorLinkActive,\n    },\n  };\n}\n"],"names":[],"mappings":";;AAGO,SAAS,cAAc,KAAmC,EAAA;AAC/D,EAAO,OAAA;AAAA;AAAA;AAAA,IAGL,SAAS,KAAM,CAAA,SAAA;AAAA,IACf,gBAAkB,EAAA,MAAA;AAAA,IAClB,SAAW,EAAA,MAAA;AAAA,IACX,QAAU,EAAA,SAAA;AAAA,IACV,YAAA,EAAc,CAAS,MAAA,EAAA,KAAA,CAAM,kBAAkB,CAAA,CAAA;AAAA,IAE/C,kBAAoB,EAAA;AAAA,MAClB,OAAO,KAAM,CAAA,cAAA;AAAA,KACf;AAAA,IAEA,UAAY,EAAA;AAAA,MACV,OAAO,KAAM,CAAA,eAAA;AAAA,KACf;AAAA,GACF,CAAA;AACF;;;;"}