|
|
@@ -1,3 +1,22 @@
|
|
|
# gogs-dark-theme
|
|
|
|
|
|
-An improved gogs dark theme
|
|
|
+An improved gogs dark theme, original from [Stylish](https://userstyles.org/styles/167730/gogs-dark-theme)
|
|
|
+
|
|
|
+## Instructions
|
|
|
+
|
|
|
+- Put `dark-theme.css` under `/your/gogs/path/custom/public/themes` foler
|
|
|
+- Add following HTML code in `/your/gogs/path/custom/templates/inject/head.tmpl`
|
|
|
+ ```html
|
|
|
+ <link rel="stylesheet" href="/css/themes/dark-theme.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
|
|
|
+ ```nginx
|
|
|
+ location =/img/gogs-hero.png {
|
|
|
+ alias /var/www/yoursite/gogs-hero-light.png;
|
|
|
+ }
|
|
|
+ ```
|
|
|
+- Restart Nginx and Gogs
|
|
|
+
|
|
|
+## Todo
|
|
|
+
|
|
|
+- [ ] CodeMirror themes
|