Skip to content

improving-minnesota/spectacle-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spectacle-theme

An OPi-themed spectacle theme

NOTE: this is not currently working as intended; PRs welcome!

Install

  1. yarn add objectpartners/spectacle-theme or npm install objectpartners/spectacle-theme --save

Usage

Spectacle takes a Javascript theme object (applied with Radium), so you won't need any specialized loaders apart from what is already configured

import { createTheme } from 'spectacle-theme';
import { ContentSlide as OpiSlide, TitleSlide } from 'spectacle-theme/dist/components';

const theme = createTheme();

export default class Presentation extends React.Component {
  render() {
    return (
      <Deck transition={["zoom", "slide"]} transitionDuration={500} theme={theme}>

Development

Clone the spectacle-boilerplate repo and copy it into the example directory.

Then follow the build instructions below (from the root level of the project):

  1. yarn build
  2. cd dist && npm link
  3. cd ../
  4. cd example // boilerplate project from spectacle
  5. npm link spectacle-theme

Releases

No releases published

Packages

No packages published