Spectacle used to have a fit prop on many components that would fill the entire width of the slide -- either as single or multiple words. Here's a presentation where I used it variously:
<Slide bgColor="tertiary" bgImage={images.polygonsGray}
notes={notes(
"Each of these trends are <b>scary</b>",
"... and present great <b>opportunity</b>"
)}>
<Appear fid="1">
<Heading bold fit caps textColor="lightestGray">
Lots of JavaScript
</Heading>
</Appear>
<Appear fid="2">
<Heading bold fit caps textColor="primary">
In the browser
</Heading>
</Appear>
<Appear fid="3">
<Heading bold fit caps textColor="lightestGray">
Written by large teams
</Heading>
</Appear>
</Slide>
<Slide bgImage={images.bgCowboyPilot} bgDarken={0.35}>
<Heading bold fit caps textColor="lightestGray">
The Fundamental Challenge:
</Heading>
<Heading bold fit caps textColor="primary">
JavaScript is the
</Heading>
<Heading bold fit caps textColor="lightestGray">
Wild, Wild West
</Heading>
</Slide>
Task
[ ] Come up with something new for current spectacle. Might be a prop or maybe just a different component that works within the other components.
Spectacle used to have a
fit
prop on many components that would fill the entire width of the slide -- either as single or multiple words. Here's a presentation where I used it variously:Old examples
In a heading
With appear component
(Keep hitting arrow/space to see all. I'm pretty sure our appear feature is different then this now, but you get the idea.)
With a background
Task