Mixins / foldkit-mixins-ui

TypographySlots

const · packages/mixins-ui/src/typography.ts:12

const TypographySlots: Slots.Contract<{
  readonly text: Slot.UnnamedSlot<
    Capability.Capability<
      'Container',
      readonly [
        Capability.Capability<
          'Interactive',
          readonly [Capability.Capability<'Base', readonly []>]
        >,
      ]
    >,
    readonly Slot.EventName[],
    readonly Slot.AttributeName[],
    readonly Slot.RequirementName[],
    boolean
  >
}>

Set type publishes one slot; it owns no state, messages, or bundles. The level chooses the element: headings stay headings, body copy stays a paragraph, and asides keep their small, blockquote, and code semantics. Longform rhythm between unlike elements stays Prose's; this is the single voice, wherever it stands.