Contribute +/-
This commit is contained in:
parent
b0d33f54ac
commit
9da0ef82af
21
README.md
21
README.md
@ -47,3 +47,24 @@ In some low end mobile devices found it enough stressful to render quickly , so
|
|||||||
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">```
|
||||||
or (for velvet) : ```<link rel="stylesheet" href="/css/themes/velvet.css">```
|
or (for velvet) : ```<link rel="stylesheet" href="/css/themes/velvet.css">```
|
||||||
|
|
||||||
|
### Contribute +/-
|
||||||
|
Feel free to submit any new theme , or corrections to existing ones.
|
||||||
|
|
||||||
|
Necessary tools:
|
||||||
|
- 
|
||||||
|
-  ``` npm install -g sass ```
|
||||||
|
|
||||||
|
Creating new theme:
|
||||||
|
|
||||||
|
-As main theme we use Dark-
|
||||||
|
- Fork this repo..
|
||||||
|
- ``` git clone https://github.com/<your userName here>/GogsThemes.git```
|
||||||
|
- ``` cd GogsThemes/themes```
|
||||||
|
- ``` cp dark_theme.scss new_theme_name.scss```
|
||||||
|
- ``` sass --watch new_theme_name.scss new_theme_name.css```
|
||||||
|
- ``` mkdir ../img/screenShots/new_theme_name```
|
||||||
|
- take screenshots like { file.png , home.png , intro.png , repo.png , signup.png } of your theme (saved under GogsThemes/img/screenShots/new_theme_name/
|
||||||
|
- update README.md with activate instructions and screenshots for new theme.
|
||||||
|
- commit & push to your fork
|
||||||
|
- create a pull request.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user