-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Dark blue theme #6011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Maybe we should create a theme market so that everyone could upload his themes and others could download and apply. |
I really don't want to come-off as a smart ass, but I feel that would be a lot of effort. Shorter goals with more visible achievements usually motivate people better. Perhaps we can try something as simple as a "upload theme" feature in the admin panel where a zip file is uploaded and that places the css, template, etc from the zip file into the public folder so that it automatically starts working on refresh. It would be much more easier to implement as well as would achieve the intended feature. Again, just my opinion. No offence intended. |
It should be easily possible for people to use this theme by simply adding the css to https://github.com/go-gitea/gitea/blob/master/templates/custom/header.tmpl |
As a current workaround, this file Signed in user gitea/templates/base/head.tmpl Line 152 in 8d2c24f
Anonymous user gitea/templates/base/head.tmpl Line 155 in 8d2c24f
|
It's a complete replacement, enabled as described above in gitea's .ini file, only not "arc-blue" but "dark-blue". |
So any plans on this? Not the theme market, just this theme? |
Hmm. I copied the css to into but I'm not seeing it as an option for a theme. I'm using gitea v1.9.2, did I miss something? |
THEMES = gitea,arc-green,arc-blue settings |
That fixed it. My fault for not reading the documentation first. |
Sorry for dumb question, but where are these files in Gitea docker installation? I've /bin/bash-ed into container, but cannot find any html/tmpl/css files at all. Also I'm running an "offline" installation just for me. |
The default files are packaged inside the binary at build time you need to create a custom folder. Please read the docs: https://docs.gitea.io/en-us/customizing-gitea/ |
Hi This theme has issues with the code (indexer) search pages :( |
@gerroon Please, provide a full URL of the problematic page. I only maintain the theme on our own server and I don't see the "<> Code" tab there. |
Code is enabled if you enable "indexer" |
@artixnous Thanks for the dark theme applied to swagger. I tried and it worked but white swagger pages still poke my eyes. How can I apply the theme to swagger? I'm using gitea 1.11.4. |
May I see a screenshot? |
@artixnous I've attached it. |
Hm, not sure why you get such results; please, have a look at our Gitea instance and try to find out why yours isn't themed. Also, please make sure you're using the latest CSS from our repo. |
@artixnous Thanks for reviews! I'll try to find things. |
Maintaining a theme will spend many times so that we will not maintian many themes officially. So I think this should not be merged into gitea main branch. And you can always find all kinds of themes here https://gitea.com/gitea/awesome-gitea#user-content-themes . I will close this issue, and please go to https://discourse.gitea.io/c/themes/9 to discuss about themes. |
I've modified arc-green theme to dark blue, and it's being used at our gitea repository. It's extensively tested and should be pretty much complete, covering even the API/swagger page. If there's any interest, I could do a PR.
Screenshots
The text was updated successfully, but these errors were encountered: