From 9da0ef82af75f784775a43c6cede8b5f3f849f37 Mon Sep 17 00:00:00 2001 From: Kos-M <46938390+Kos-M@users.noreply.github.com> Date: Fri, 17 Apr 2020 23:19:21 +0300 Subject: [PATCH] Contribute +/- --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 0482013..82b6a11 100644 --- a/README.md +++ b/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 the line contains : `````` or (for velvet) : `````` + +### Contribute +/- + Feel free to submit any new theme , or corrections to existing ones. + + Necessary tools: +- ![NodeJs](https://nodejs.org/en/) +- ![Sass](https://github.com/sass/sass) ``` npm install -g sass ``` + +Creating new theme: + +-As main theme we use Dark- +- Fork this repo.. +- ``` git clone https://github.com//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.