Data grid / foldkit-mixins-data-grid

GridLegendStyle

const · packages/mixins-data-grid/src/marks.ts:112

const GridLegendStyle: NamedStyle<
  Slots.Contract<{
    readonly legend: Slot.UnnamedSlot<
      Slot.SlotCapability,
      readonly Slot.EventName[],
      readonly [Attr.AttrToken<'aria-label'>],
      readonly Slot.RequirementName[],
      boolean
    >
    readonly legendItem: Slot.UnnamedSlot<
      Slot.SlotCapability,
      readonly Slot.EventName[],
      readonly Slot.AttributeName[],
      readonly Slot.RequirementName[],
      boolean
    >
    readonly legendSwatch: Slot.UnnamedSlot<
      Slot.SlotCapability,
      readonly Slot.EventName[],
      readonly Slot.AttributeName[],
      readonly Slot.RequirementName[],
      boolean
    >
  }>
>

The legend's look, its swatches drawn by the cells' own rules.

In the guides