Theme-matched xlsx export
Live in demo 56-export-theme-matched.
When
Excel file colours follow the same --sg-* tokens the grid renders with.
How
Key API surface:
api.exportData({ format: 'xlsx', styles: { ... } })
See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.
See also
- Demo 56-export-theme-matched source
- Demo 56-export-theme-matched prompt sidecar - drop into an LLM context window
- Recipes index