Reference
Every public export, with live demos, signatures and gotchas.
Every public export of @salla.sa/twilight-theme-engine, grouped the way its import paths are. Each entry shows the import line, a plain explanation, the signature, a live demo where one can run, and the traps worth knowing.
The provider every theme mounts once, the context it shares, and the component registry.
HooksFunctions that hand a component live store data, formatting helpers and customer actions.
Common & layout componentsLinks, images, breadcrumbs, empty states, skeletons, and the header/footer page layout.
Commerce componentsProduct cards and details, the cart, home-page blocks, and store-level widgets.
Overlays & feedbackModal, drawer, dropdown, collapse and toast notifications.
Route modulesThe built-in pages: each is a loader, a head function and a component you can reuse or fork.
Data & APITyped functions and TanStack Query options for reading store data from the Salla API.
Languages & directionTranslations, the locale in the URL, and right-to-left layout.
UtilitiesPure helpers: asset and CDN URLs, colors, head tags, document attributes, SDK access.
Framework wiringThe TanStack Start integration a theme sets up once: router, root route, middleware, head.
Data typesTypeScript shapes for the store, theme, products, customers and hook slots.
Build toolingThe Vite plugin, the ESLint config, the dev settings widget and Sentry helpers.
Every export (A–Z)The complete, generated list of what each import path exports, with signatures.