commit
b0d33f54ac
@ -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">```
|
||||
|
Loading…
x
Reference in New Issue
Block a user