Merge pull request #1 from d-ban/patch-1

Update README.md
This commit is contained in:
Kos-M 2019-10-10 18:18:08 +03:00 committed by GitHub
commit b0d33f54ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,14 @@ If you find something not displayed good , feel free to contribute
## Velvet
- ````cd $GOGS_ROOT````
- ```git clone https://github.com/Kos-M/GogsThemes.git```
- ````cat '<link rel="stylesheet" href="/css/themes/velvet.css">' >> templates/inject/head.tmpl````
- ````echo '<link rel="stylesheet" href="/css/themes/velvet.css">' >> templates/inject/head.tmpl````
- ```mv ./GogsThemes/themes/velvet.css public/css/themes```
- ```rm -r ./GogsThemes```
## Dark
- ````cd $GOGS_ROOT````
- ```git clone https://github.com/Kos-M/GogsThemes.git```
- ````cat '<link rel="stylesheet" href="/css/themes/dark_theme.css">' >> templates/inject/head.tmpl````
- ````echo '<link rel="stylesheet" href="/css/themes/dark_theme.css">' >> templates/inject/head.tmpl````
- ```mv ./GogsThemes/img/grad1.png public/img```
- ```mv ./GogsThemes/themes/dark_theme.css public/css/themes```
- ```rm -r ./GogsThemes```
@ -46,4 +46,4 @@ In some low end mobile devices found it enough stressful to render quickly , so
### To disable a theme:
Just open ```$GOGS_ROOT/templates/inject/head.tmpl``` and delete
the line contains : ```<link rel="stylesheet" href="/css/themes/dark_theme.css">```
or (for velvet) : ```<link rel="stylesheet" href="/css/themes/velvet.css">```
or (for velvet) : ```<link rel="stylesheet" href="/css/themes/velvet.css">```