UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

1 lines 1.25 kB
{"version":3,"file":"link.style.cjs","names":["defineComponentStyle"],"sources":["../../../../src/components/link/link.style.ts"],"sourcesContent":["import { defineComponentStyle } from \"../../core\"\n\nexport const linkStyle = defineComponentStyle({\n base: {\n alignItems: \"center\",\n cursor: \"pointer\",\n display: \"inline-flex\",\n gap: \"3\",\n rounded: \"l1\",\n },\n\n variants: {\n plain: {\n color: \"colorScheme.solid\",\n _hover: {\n textDecoration: \"underline\",\n textDecorationColor: \"currentColor\",\n textUnderlineOffset: \"3px\",\n },\n },\n underline: {\n color: \"colorScheme.solid\",\n textDecoration: \"underline\",\n textDecorationColor: \"currentColor\",\n textUnderlineOffset: \"3px\",\n },\n },\n\n defaultProps: {\n colorScheme: \"link\",\n variant: \"plain\",\n },\n})\n\nexport type LinkStyle = typeof linkStyle\n"],"mappings":";;;AAEA,MAAa,YAAYA,oCAAqB;CAC5C,MAAM;EACJ,YAAY;EACZ,QAAQ;EACR,SAAS;EACT,KAAK;EACL,SAAS;EACV;CAED,UAAU;EACR,OAAO;GACL,OAAO;GACP,QAAQ;IACN,gBAAgB;IAChB,qBAAqB;IACrB,qBAAqB;IACtB;GACF;EACD,WAAW;GACT,OAAO;GACP,gBAAgB;GAChB,qBAAqB;GACrB,qBAAqB;GACtB;EACF;CAED,cAAc;EACZ,aAAa;EACb,SAAS;EACV;CACF,CAAC"}