|
|
il y a 1 an | |
|---|---|---|
| LICENSE | il y a 1 an | |
| README.md | il y a 1 an | |
| codemirror-material-darker.css | il y a 1 an | |
| dark-theme.css | il y a 1 an | |
| gogs-hero-light.png | il y a 1 an | |
| simplemde-dark.css | il y a 1 an |
An improved gogs dark theme, original from Stylish, CodeMirror theme from here, SimpleMDE theme from here
dark-theme.css, simplemde-dark.css and codemirror-material-darker.css under /your/gogs/path/custom/public/themes folerAdd following HTML code in /your/gogs/path/custom/templates/inject/head.tmpl
<link rel="stylesheet" href="/css/themes/dark-theme.css" />
<link rel="stylesheet" href="/css/themes/simplemde-darker.css" />
<link rel="stylesheet" href="/css/themes/codemirror-material-darker.css" />
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
location =/img/gogs-hero.png {
alias /var/www/yoursite/gogs-hero-light.png;
}
Restart Nginx and Gogs