kos-m / gogsthemes Goto Github PK
View Code? Open in Web Editor NEWAn attempt to give some colors to amazing Gogs platform ..
License: MIT License
An attempt to give some colors to amazing Gogs platform ..
License: MIT License
I have my Gogs instance deployed in Docker using following environment.yaml file:
version: '3'
services:
gogs:
image: gogs/gogs
volumes:
- /volume1/docker/gogs:/data
ports:
- 3000:3000
- 3022:22
I have followed installation instructions (head.tmpl
creation, copying files), but new theme fails to show after docker restart.
I have tried putting "custom" folder in two locations:
/volume1/docker/gogs/custom
/volume1/docker/gogs/gogs/custom
And its structure is as follows:
./custom/public/* # mv and cp results
./custom/templates/inject/head.tmpl
I restart gogs, no new theme is visible.
I feel like I am missing something obvious, or am very bad at reading the instructions. Help please?
When using the Dark theme (which is great) the cursor (when editing a file) is also black, so sometimes it is hard for me to determine where my cursor is at.
Would it be possible to give the cursor a more distinctive color so i can track where my cursor is at ?
Profile "full name" and misc. profile text is still black after using custom.css
Add the following at some point
.user.profile .ui.card .extra.content ul li:not(:last-child) {
color: silver !important;
}
.ui.card > .content > .header, .ui.cards > .card > .content > .header {
color: silver !important;
}
Hi Thanks for creating this theme. I have just installed successfully.
I noticed that the main logo in the center of Gogs homepage is now different from the one on your screenshots.
I can only guess that it was updated by Gogs, and because of that it stays as it was in the original theme. That is, the big letters "Gogs" are black on a dark grey background.
Here is a screenshot.
It doesn't look bad to me, but I thought I'd point it out.
Worked after
cd "gogs/custom/templates/inject";
ln -s "../../../templates/inject/head.tmpl";
Thanx for dark theme!
My gogs is running in docker container and are being reverse proxied by nginx on another device.
In this situation, /css/themes/velvet.css
in head.tmpl seems not working, which is the same as /img/grad1.png
in css files.
For proper operation, I alternate /css/themes/velvet.css
to css/themes/velvet.css
, /img/grad1.png
to ../../img/grad1.png
.
I don't know if this poses any other risks, but at least now it works properly. Should relative paths be considered instead of absolute paths in repo?
Hi, thank for this nice theme.
There is issues when gogs is not on root of website, for examples on http://yourhost/gogs/
In that case there is many changes I applied in way to work but I am not satisfied with my solution.
Changing the inject/head.tmpl and prepend the path (in that example prepend with /gogs/ ).
Then there is still issue because it doesn't look at custom/css/themes directory but look for public/css/themes.
So I move the dark_themes.css into public/css/themes/
Finally modify the url( ...) path into the dark_themes.css with prepend /gogs/ in way it retrieve images.
Does someone have a better solutio ?
I'm running off of the docker image provided by the gogs project here.
I've tried running those commands specified in the README of this repo in the locations I thought might be appropriate:
/app/gogs
/app/gogs/data
/data/gogs
but none made any impact. Can you please advise what exactly the "root directory" of gogs is (at least in this image), and perhaps update the README to help those who run in Docker off of the provided image (which i'd have to imagine is most people). Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.