bespoke-theme-beachday
v2.0.1
Published
A cheerful theme for Bespoke.js inspired by a Google Presentations theme
Downloads
12
Readme
bespoke-theme-beachday
A cheerful theme for Bespoke.js inspired by a Google Presentations theme — View demo
Download
Download the production version or the development version, or use a package manager.
Usage
This theme is shipped in two ways:
- in a UMD format and
- as CSS files inside dist/theme.
If you prefer to include it by requiring some JS file, you can use (1) as it makes the theme available as a CommonJS/AMD module or browser global.
For example, when using CommonJS modules:
const bespoke = require('bespoke')
const beachday = require('bespoke-theme-beachday');
bespoke.from('#presentation', [
beachday()
])
When using browser globals:
bespoke.from('#presentation', [
bespoke.themes.beachday()
])
Alternatively, if you prefer to include (2) CSS files directly, you can grab them from dist/theme directly. Reasons for this include if you strive for better performance, as loading the theme via (1) involves parsing a JS file before any CSS is included.
Package managers
npm
$ npm install bespoke-theme-beachday
Credits
This theme was built with generator-bespoketheme.