Initial commit

This commit is contained in:
2020-11-16 21:22:51 +01:00
commit 25d5bd4322
66 changed files with 8393 additions and 0 deletions

44
README.md Normal file
View File

@@ -0,0 +1,44 @@
# @thumbsup/theme-flow
[![NPM](https://img.shields.io/npm/v/@thumbsup/theme-flow.svg?style=flat)](https://www.npmjs.com/package/@thumbsup/theme-flow)
[![Travis CI](https://travis-ci.org/thumbsup/theme-flow.svg?branch=master)](https://travis-ci.org/thumbsup/theme-flow)
One of the built-in themes for https://github.com/thumbsup/thumbsup.
---
## Usage
```bash
thumbsup --theme flow
```
## Theme options
- The `featuredAlbum` option will show the album with the specified name (if it exists)
as a slider at the top of the gallery homepage instead of listing it as a normal album.
This album must be top-level, and any sub-albums will be ignored.
The height of this slider defaults to 400px, but can be overridden
by setting the `@slider-height` LESS variable.
- The `sliderInterval` option is an integer representing the number of
milliseconds to wait between slides. The default is 1000 (1 second).
- The `hideExtension` option will display media filenames without the file extension.
## Screenshots
![albums](docs/albums.png)
![media](docs/media.png)
## Developing
Testing the theme
```bash
thumbsup --input /photos --output ./tmp --theme-path ./theme
```
Publishing the theme:
```bash
npm publish --access=public
```