Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shower/material
Material theme for Shower HTML presentation engine
https://github.com/shower/material
Last synced: about 1 month ago
JSON representation
Material theme for Shower HTML presentation engine
- Host: GitHub
- URL: https://github.com/shower/material
- Owner: shower
- License: other
- Created: 2015-08-02T17:21:25.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-06-22T13:58:04.000Z (over 1 year ago)
- Last Synced: 2024-10-27T04:14:07.134Z (2 months ago)
- Language: HTML
- Homepage: https://shwr.me
- Size: 5.48 MB
- Stars: 42
- Watchers: 6
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Material theme for Shower
[![Test status](https://github.com/shower/material/workflows/Test/badge.svg)](https://github.com/shower/material/actions/workflows/test.yml)![Ribbon screen shot](pictures/canvas.png)
Default theme for the [Shower](https://github.com/shower/shower/) presentation engine. Doesn’t include engine itself. [See it in action](https://shwr.me/shower/themes/material/). Follow [@shower_me](https://twitter.com/shower_me) for support and updates, [file an issue](https://github.com/shower/shower/issues/new) if you have any.
## Usage
Get the Shower template where Ribbon is already included. Download the [template archive](https://shwr.me/shower.zip) or create a slide deck via [CLI tool](https://github.com/shower/cli). It requires [Node.js](https://nodejs.org/) installed.
npx @shower/cli create
Wait for the installation and choose the **material** option in the wizard and you’re all set.
## Features
All theme’s features are demonstrated in the [index.html](index.html) file, [see it live](https://shwr.me/shower/themes/material/). Use it as a reference while building your presentation. See more detailed [features overview](https://github.com/shower/shower/blob/main/docs/features.md).
## Ratios
Material theme supports any slide ratio you want. But it’s optimized for the most common ones: 16×9 and 4×3. It’s 16×9 by default, but you can change it by adjusting `--slide-ratio` property for `.shower`, [see example](https://github.com/shower/ribbon/blob/main/index.html#L10) in `index.html`.
## Key color
By default Material theme is green, but you can easily change the key color by adjusting `--color-key` property for `.shower`. You can choose any color you want, just make sure that it’s dark enough for a good contrast. For example, in [Material Color Tool](https://material.io/tools/color/) good colors start at 500 column.
You can export slides to PDF by printing it via built-in dialog in Chromium-based browsers or via CLI tool. See [printing documentation](https://github.com/shower/shower/blob/main/docs/pdf.md) for more options.
## Development
If you want to adjust theme for your needs:
1. Fork this repository and clone it to your local machine.
2. Install dependencies: `npm install`.
3. Start a local server with watcher: `npm start`.
4. Edit your files and see changes in the opened browser.To take part in Material development please read [contributing guidelines](CONTRIBUTING.md) first and [file an issue](https://github.com/shower/shower/issues/new) before sending any pull request.
---
Licensed under [MIT License](LICENSE.md).