Prepare for npm publish (ignore tests, cleanup license...)

pull/51/head
Romain 8 years ago
parent b9205b76b2
commit fb7ed50753

@ -1,4 +1,2 @@
.gitignore test
.gitmodules scripts
.npmignore
screenshot.jpg

@ -1,7 +1,5 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2014 Romain Prieto
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights in the Software without restriction, including without limitation the rights

@ -1,35 +0,0 @@
# Themes
Here are the themes available for Thumbsup.
Please submit a pull-request to submit new themes.
Themes can be configured/tweaked by overriding [LESS](http://lesscss.org/) variables,
using the `--css` option.
```bash
thumbsup --theme default --css custom.less
```
```less
@text-color: #cef9b6;
```
## Default
![default theme](screenshot.jpg)
Configuration variables
| Variable | Description |
|-------------|-------------|
| @body-background | Page background color |
| @header-background | Header background color |
| @header-foreground | Header title color |
| @nav-background | Sidebar navigation background color |
| @nav-highlight | Sidebar hover effect color |
| @album-background | Album cover background color |
| @text-color | Main text color |
| @text-light | Lighter text color |
| @borders | General border color |
| @mobile-trigger | Width below which is switches to mobile mode |

@ -9,7 +9,7 @@ PATH=$(pwd)/node-modules/.bin:$PATH
echo "--- Check all dependencies in package.json" echo "--- Check all dependencies in package.json"
require-lint --src bin/thumbsup.js --ignore-extra lightgallery require-lint --src bin/thumbsup.js --ignore-extra lightgallery
echo "--- Verify lightgallery dependenciy is built in" echo "--- Verify lightgallery dependency is built in"
grep \"lightgallery\" package.json 1>/dev/null grep \"lightgallery\" package.json 1>/dev/null
echo "--- Run unit tests" echo "--- Run unit tests"

Loading…
Cancel
Save