Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spectacle: Full width / "fit" text feature. #1211

Open
1 task
ryan-roemer opened this issue Aug 22, 2022 · 0 comments
Open
1 task

spectacle: Full width / "fit" text feature. #1211

ryan-roemer opened this issue Aug 22, 2022 · 0 comments
Assignees
Labels
Feature Request Request for or introduction of new functionality

Comments

@ryan-roemer
Copy link
Member

ryan-roemer commented Aug 22, 2022

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

        <Slide id="title" bgImage={images.polygons}>
          <Text bold fit caps textColor="primary" textFont="primary">
            Wrangling
          </Text>
          <Text bold fit caps textColor="primary" textFont="primary">
            Large Scale
          </Text>
          <Text bold fit caps textColor="primary" textFont="primary">
            Frontend Web Applications
          </Text>
          {/* ... *}
        </Slide>

Screen Shot 2022-08-22 at 2 52 57 PM

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.)

        <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>

Screen Shot 2022-08-22 at 2 52 47 PM

With a background

        <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>

Screen Shot 2022-08-22 at 2 52 38 PM

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.
@ryan-roemer ryan-roemer added the Feature Request Request for or introduction of new functionality label Aug 22, 2022
@ryan-roemer ryan-roemer changed the title spectacle: Full width feature. spectacle: Full width / "fit" text feature. Aug 22, 2022
@carloskelly13 carloskelly13 self-assigned this Aug 23, 2022
@exogen exogen self-assigned this Sep 1, 2022
@masiddee masiddee assigned masiddee and unassigned exogen and carloskelly13 Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Request for or introduction of new functionality
Projects
None yet
Development

No branches or pull requests

4 participants