An OPi-themed spectacle theme
NOTE: this is not currently working as intended; PRs welcome!
yarn add objectpartners/spectacle-theme
ornpm install objectpartners/spectacle-theme --save
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}>
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):
yarn build
cd dist && npm link
cd ../
cd example
// boilerplate project from spectaclenpm link spectacle-theme