UNPKG

@yamada-ui/react

Version:

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

1 lines 898 B
{"version":3,"file":"mark.style.cjs","names":["defineComponentStyle"],"sources":["../../../../src/components/mark/mark.style.ts"],"sourcesContent":["import { defineComponentStyle } from \"../../core\"\n\nexport const markStyle = defineComponentStyle({\n base: {\n bg: \"transparent\",\n whiteSpace: \"nowrap\",\n },\n\n variants: {\n accent: {\n color: \"colorScheme.solid\",\n },\n solid: {\n layerStyle: \"solid\",\n },\n subtle: {\n layerStyle: \"subtle\",\n },\n text: {\n fontWeight: \"semibold\",\n },\n },\n\n defaultProps: {\n variant: \"subtle\",\n },\n})\n\nexport type MarkStyle = typeof markStyle\n"],"mappings":";;;AAEA,MAAa,YAAYA,oCAAqB;CAC5C,MAAM;EACJ,IAAI;EACJ,YAAY;EACb;CAED,UAAU;EACR,QAAQ,EACN,OAAO,qBACR;EACD,OAAO,EACL,YAAY,SACb;EACD,QAAQ,EACN,YAAY,UACb;EACD,MAAM,EACJ,YAAY,YACb;EACF;CAED,cAAc,EACZ,SAAS,UACV;CACF,CAAC"}