Example folder
This commit is contained in:
parent
c94191c7ab
commit
8df72bdd80
6 changed files with 31 additions and 4 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
themes/
|
/themes/
|
||||||
assets/
|
/assets/
|
||||||
.env
|
/.env
|
||||||
package-lock.json
|
package-lock.json
|
|
@ -1,3 +1,5 @@
|
||||||
# Nextcloud Themer
|
# Nextcloud Themer
|
||||||
|
|
||||||
An application for theming a Nextcloud instance.
|
An application for theming a Nextcloud instance. Made for next.abtmtr.link to make the instance more interesting than just "Nextcloud".
|
||||||
|
|
||||||
|
To use this application, just run "npm run dev". Alternatively, you can run it in a cron job in order to create a shuffling effect on your instance.
|
3
example/.env
Normal file
3
example/.env
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
NEXTCLOUD_INSTANCE=nextcloud.cool
|
||||||
|
NEXTCLOUD_LOGIN=myname
|
||||||
|
NEXTCLOUD_PASSWORD=app-password-please
|
16
example/README.md
Normal file
16
example/README.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Example
|
||||||
|
|
||||||
|
Move the contents of this "example" folder into the project's root directory in order to add themes.
|
||||||
|
|
||||||
|
Asset images can be held anywhere, but it's best to hold it in the `/assets/` folder for cleanliness.
|
||||||
|
|
||||||
|
## Theme example
|
||||||
|
```
|
||||||
|
Doohickey Corporation -- Instance name
|
||||||
|
a company that specializes in the creation of technology -- Instance slogan
|
||||||
|
/assets/doohickey.png -- Image asset - path from root of project
|
||||||
|
background.png -- "Saved file" name - usually "background" then the extension of the image
|
||||||
|
image/png -- MIME type - usually "image/png" or "image/jpeg"
|
||||||
|
#FFFF00 -- Accent color - in hex
|
||||||
|
```
|
||||||
|
If you are on Windows or any system that uses `CR LF`, make sure you are saving the file with `LF` and not `CR LF`. Text editors like Notepad++ and Visual Studio Code should support changing this.
|
BIN
example/assets/doohickey.png
Normal file
BIN
example/assets/doohickey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
6
example/themes/doohickey.txt
Normal file
6
example/themes/doohickey.txt
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Doohickey Corporation
|
||||||
|
a company that specializes in the creation of technology
|
||||||
|
/assets/doohickey.png
|
||||||
|
background.png
|
||||||
|
image/png
|
||||||
|
#FFFF00
|
Loading…
Reference in a new issue