You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: fix up example starting scripts
* fix: prevent theme.backdropStyle styles for background from being overridden
* docs: add documentation for backdrop customization via theme
* chore: workaround to keep BroadcastChannel from stalling test exiting
* docs: expand a bit on what a backdrop is
|`backdropStyle`|`React.CSSProperties`| Set styles for the backdrop (the edge-to-edge area behind the slides) similar to React `style` props, e.g., `{ backgroundColor: '#FFF' }`. Defaults to `{ position: 'fixed', top: 0, left: 0, width: '100vw', height: '100vh' }`|
66
+
|`Backdrop`|`React.ElementType`| Replace the default backdrop component (which appears behind the slides) with a completely custom component or tag name, e.g., `'main'` or `MyCustomComponent`. Defaults to `'div'`. |
67
+
61
68
## Deck Templates
62
69
63
70
A template in Spectacle is a fixed overlay of components that are presented on every slide. They are similar to masters in Keynote or PowerPoint. It’s a function prop that has a single optional config object containing the current slide and total slide count and returns a React Node.
0 commit comments