-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Custom CSS and Custom Themes #7595
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
I think you will find what you need under https://docs.gitea.io/en-us/customizing-gitea/ especially |
Thank you, this is what I did and it has worked well. Would still be cool to be able to develop whole custom themes that could be user-selectable and shared amongst the community. |
If you want to share you can make a PR and add your css style under the contrib folder. |
This PR changes `newest` and `oldest` sorting under *Explore/User* and *Explore/Organization* to refer to the `created_unix` column rather than `id`. Fixes: go-gitea#7595 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7596 Reviewed-by: Gusted <[email protected]> Co-authored-by: Gabriel Bjørnager Jensen <[email protected]> Co-committed-by: Gabriel Bjørnager Jensen <[email protected]>
[x]
):Description
How do I load a custom stylesheet into my Gitea deployment? I have tried putting a
styles.css
incustom/public/
andcustom/public/css/
the only method I have found that works is to place it in the templates which is sub-optimal.Perhaps the best way to do this would be to allow for a
custom/themes/
folder where users could create and share themes, then make the appropriate changes incustom/conf/app.ini
and change the default theme.It looks as if a similar idea was discussed before #56.
...
Edit
A
shift+refresh
revealed that a newindex.css
incustom/public/css/
will overwrite the giteaindex.css
and is helpful for changing some styles. However I am still finding myself running up against the semantic UI css. Which, itself, supports themingThe text was updated successfully, but these errors were encountered: