README update
This commit is contained in:
parent
07a7a7ca16
commit
d13ab6f49d
28
README.md
28
README.md
@ -7,15 +7,32 @@ If you find something not displayed good , feel free to contribute
|
|||||||
## Steps to activate a theme:
|
## Steps to activate a theme:
|
||||||
*$GOGS_ROOT = your gogs root install location*
|
*$GOGS_ROOT = your gogs root install location*
|
||||||
|
|
||||||
|
|
||||||
|
## Velvet
|
||||||
- ````cd $GOGS_ROOT````
|
- ````cd $GOGS_ROOT````
|
||||||
- ```git clone https://github.com/Kos-M/GogsThemes.git```
|
- ```git clone https://github.com/Kos-M/GogsThemes.git```
|
||||||
- ````cat ./GogsThemes/inject/head.tmpl >> templates/inject/head.tmpl ````
|
- ````cat '<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````
|
||||||
- ```mv ./GogsThemes/img/grad1.png public/img```
|
- ```mv ./GogsThemes/img/grad1.png public/img```
|
||||||
- ```mv ./GogsThemes/themes/dark_theme.css public/css/themes```
|
- ```mv ./GogsThemes/themes/dark_theme.css public/css/themes```
|
||||||
- ```rm -r ./GogsThemes```
|
- ```rm -r ./GogsThemes```
|
||||||
|
|
||||||
## Screens
|
## ScreensShots
|
||||||
|
|
||||||
|
## Velvet
|
||||||
|
|
||||||
|
 
|
||||||
|
 
|
||||||
|

|
||||||
|
|
||||||
|
## Dark
|
||||||
|
|
||||||
 
|
 
|
||||||
 
|
 
|
||||||

|

|
||||||
@ -28,7 +45,4 @@ In some low end mobile devices found it enough stressful to render quickly , i
|
|||||||
|
|
||||||
### To disable a theme:
|
### To disable a theme:
|
||||||
Just open ```$GOGS_ROOT/templates/inject/head.tmpl``` and delete
|
Just open ```$GOGS_ROOT/templates/inject/head.tmpl``` and delete
|
||||||
the line contains : ``` <link rel="stylesheet" href="/css/themes/dark_theme.css">```
|
the line contains : ``` <link rel="stylesheet" href="/css/themes/dark_theme.css">```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user