@dxos/ui-theme
    Preparing search index...

    Function bridgeTv

    • Adapt a tailwind-variants slots recipe into the existing Theme shape (a map of import('@dxos/ui-types').ComponentFunction) so it can register in the tx theme tree and be consumed via tx('component.slot', styleProps, ...classNames). Slots are enumerated explicitly (not via Proxy) so unknown paths resolve to undefined exactly as getDeep does today, and the result is a plain, inspectable object. Derive slots from Object.keys(recipe()) at the call site.

      Type Parameters

      • P extends Record<string, any>
      • S extends string

      Parameters

      • recipe: SlotsRecipe<P, S>
      • slots: readonly S[]

      Returns BridgedTheme<P, S>