{"version":3,"file":"defaultBlockquoteTheme.mjs","sources":["../../../../../../src/components/ui/typography/blockquote/defaultBlockquoteTheme.ts"],"sourcesContent":["import { ComponentTheme } from \"../../theme/common/ComponentTheme\";\nimport type { TypographyProps } from \"../common\";\nimport type { BorderProps } from \"../../props\";\nimport type { BlockquoteTheme } from \"./BlockquoteTheme\";\nimport { BLOCKQUOTE_CATEGORIES } from \"../common\";\nimport { typographyClassMappers } from \"../../theme/common/typographyClassMappers\";\nimport { borderAppearance } from \"../../theme/common/appearanceClassMappers\";\nimport { PerSideBorderClassMapper } from \"../../theme/layout/perSideBorderClassMapper\";\nimport { blockquoteDefaults } from \"./blockquoteDefaults\";\n\n// Typography mappers + a per-side border (width via PerSideBorderClassMapper,\n// color via borderAppearance) so the accent is the `borderStart` prop.\nconst blockquoteClassMappers: BlockquoteTheme = {\n  ...typographyClassMappers,\n  layout: { ...typographyClassMappers.layout, border: new PerSideBorderClassMapper() },\n  appearance: { ...typographyClassMappers.appearance, border: borderAppearance },\n};\n\n/** Blockquote specific theme */\nexport const defaultBlockquoteTheme = new ComponentTheme<TypographyProps & BorderProps, BlockquoteTheme>(\n  \"blockquote\",\n  // Only the padding reset + logical indent live in the base now. The accent\n  // border is the `borderStart` prop: its width comes from --bw-s (thickened to 3px\n  // by the .vane-blockquote rule) and its color from the appearance system —\n  // both flip to the inline-end side under dir=\"rtl\".\n  \"vane-blockquote p-0 ps-(--pl)\",\n  blockquoteClassMappers,\n  blockquoteDefaults,\n  BLOCKQUOTE_CATEGORIES,\n  undefined,\n  'ui'\n);\n\n/** Alias for backward compatibility */\nexport const blockquoteTheme = defaultBlockquoteTheme;\n"],"names":[],"mappings":";;;;;;;AAYA,MAAM,sBAAA,GAA0C;AAAA,EAC9C,GAAG,sBAAA;AAAA,EACH,MAAA,EAAQ,EAAE,GAAG,sBAAA,CAAuB,QAAQ,MAAA,EAAQ,IAAI,0BAAyB,EAAE;AAAA,EACnF,YAAY,EAAE,GAAG,sBAAA,CAAuB,UAAA,EAAY,QAAQ,gBAAA;AAC9D,CAAA;AAGO,MAAM,yBAAyB,IAAI,cAAA;AAAA,EACxC,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,+BAAA;AAAA,EACA,sBAAA;AAAA,EACA,kBAAA;AAAA,EACA,qBAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF;AAGO,MAAM,eAAA,GAAkB;;;;"}