feat(theme): add theme switching functionality
This commit is contained in:
parent
857b427155
commit
987fdc10c0
13 changed files with 92 additions and 150 deletions
|
@ -3,7 +3,8 @@
|
|||
This web application is a very simple file browser which can be used
|
||||
effectively together with [nginx's autoindex module](http://nginx.org/en/docs/http/ngx_http_autoindex_module.html).
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
A sample nginx configuration is also included which mounts **file browser** under root (`/`) and mounts files to be listed under `/files` path. Hence is the `filesBaseUrl` under
|
||||
|
||||
|
@ -40,8 +41,3 @@ shall be changed to
|
|||
```
|
||||
|
||||
And the mounting point is now `/home/myuser/files-to-serve/` instead of `/opt/www/files/`.
|
||||
|
||||
## Gruvbox theme
|
||||
|
||||
A gruvbox theme is present in the css. You can use it by editing line 12 of the index.html. Simply change the link from `css/main.css` to `css/main-gruvbox.css`
|
||||
This theme is heavily inspired from iTerm2 color scheme that can be found here: [link](https://github.com/herrbischoff/iterm2-gruvbox)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue