# gogs-dark-theme
An improved gogs dark theme, original from [Stylish](https://userstyles.org/styles/167730/gogs-dark-theme), CodeMirror theme from [here](https://codemirror.net/5/demo/theme.html#material-darker), SimpleMDE theme from [here](https://github.com/xcatliu/simplemde-theme-dark)
## Instructions
- Put `dark-theme.css`, `simplemde-dark.css` and `codemirror-material-darker.css` under `/your/gogs/path/custom/public/themes` foler
- Add following HTML code in `/your/gogs/path/custom/templates/inject/head.tmpl`
```html
```
- If you're using Nginx to proxy `Gogs`, upload `gogs-hero-light.png` to the site folder and add the following lines in your site config
```nginx
location =/img/gogs-hero.png {
alias /var/www/yoursite/gogs-hero-light.png;
}
```
- Restart Nginx and Gogs
## Todo
- [x] CodeMirror themes
- [x] CodeMirror Markdown theme