Comments (18)
Download https://github.com/go-gitea/gitea/blob/release/v1.21/web_src/css/themes/theme-arc-green.css
Actually I wouldn't recommend to do so if end users do not want to spend enough time on customizing. The problem is that the theme variables (always) change between versions. So a 1.21 theme might not work well in 1.22 (some parts work, while some parts don't)
If end users would like to spend enough time on customizing, the customized theme should base on the related release's theme variables.
Edit
/data/gitea/conf/app.ini
to add
No need to do so anymore after #30625, all themes are automatically discovered.
from gitea.
We will get this support in 1.22 , but I guess I won't backport it to 1.21 since it would cause some non-bugfix changes.
Related: [Feature Request] Add "Ctrl+Enter" posting of messages for all textareas #14843
from gitea.
Got it, is there a 1.22 image that I can test?
from gitea.
Not yet at the moment. Maybe I could start coding in a few days 😄
from gitea.
A quick fix could be like this: Make Ctrl+Enter work for issue/comment edit #30720
Actually I have a complex plan for fixing the "enter" behaviors for various forms, while I think this quick fix doesn't cost much time and is good to have.
If the quick fix could be merged, then you could try it by the nightly release
from gitea.
Got it, is there a 1.22 image that I can test?
Now we have 1.22-rc1, it contains the "fix":
from gitea.
Ok, found the docker image gitea/gitea:1.22.0-rc1
from gitea.
It seems the arc-green
theme was removed between 1.21.11+9-g0e20ccfe32
and 1.22.0-rc1
? Anyway for me to get it back?
from gitea.
It is still there, only renamed.
There is a breaking change for it: https://github.com/go-gitea/gitea/releases
Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419)
The renaming is done to make it easier to support more user's custom themes.
from gitea.
How would I go about that with docker? Let me know if there is a better place to discuss this theme issue. Thank you.
from gitea.
How would I go about that with docker?
Sorry, I didn't get the point of "How would I go about that with docker?". Do you mean you didn't see it?
Maybe there is something in your app.ini
, check the THEME
related keys.
Maybe there are some legacy options generated by old Gitea, now you could simply make THEMES
to be empty, then all themes could be used.
from gitea.
I'm using docker, so I assume everything gets overwritten?
The above are all that I can see in 1.22, and none of them shows what I used previously.
from gitea.
I'm using docker, so I assume everything gets overwritten?
The above are all that I can see in 1.22, and none of them shows what I used previously.
Hmm, do you mean that you still need the "green dark theme" which is named "arc-green" ?
There is one change for the dark theme: Recolor dark theme to blue shade (#29283)
If I understand correctly, the "arc dark theme" was completely rewritten by #27419 / #29283, the color change proposal is in #27097, so there is no equivalent arc-green in 1.22 after #29283. Maybe @silverwind (the author of these issue/PR) knows more.
from gitea.
Yes, I'm looking for the arc-green
theme. All the referenced conversations are locked. But thanks!
@silverwind Personally, the arc-green
matches the green gitea logo better even tho I understand this is trying to achieve consistency between dark/light. But why the need to be "consistent"? In our setup, we never toggle gitea to light. It would be great if there is a way to get back arc-green
.
from gitea.
Yes, I'm looking for the
arc-green
theme. All the referenced conversations are locked. But thanks!@silverwind Personally, the
arc-green
matches the green gitea logo better even tho I understand this is trying to achieve consistency between dark/light. But why the need to be "consistent"? In our setup, we never toggle gitea to light. It would be great if there is a way to get backarc-green
.
Maybe that theme could be copied as a third-party theme.
from gitea.
I could share some of my opinions about this decision:
- there are many buttons/labels/messages in green (no matter which theme is used), the green elements usually mean "success". So the default green color used by "arc-green" as primary color would confuse users.
- there are more users affected by green/red blindness than blue.
from gitea.
Maybe that theme could be copied as a third-party theme.
Yea, this would be great, any instructions on how to get it back in my docker setup?
- there are many buttons/labels/messages in green (no matter which theme is used), the green elements usually mean "success". So the default green color used by "arc-green" as primary color would confuse users.
- there are more users affected by green/red blindness than blue.
Thanks for the insight. Maybe a blue gitea icon? 🤭
Jokes and considerations aside, and this is just my personal preference: I find the arc-green
"cleaner" as compared to the mix of blue/green.
I guess this comes from my approach of having subtle success notifications, but loud failure alerts. As my reporting mechanisms may sometimes break, success notifications are necessary to assure that it is not broken.
from gitea.
You can try to follow the below steps to add a custom theme
- Download https://github.com/go-gitea/gitea/blob/release/v1.21/web_src/css/themes/theme-arc-green.css
- Put it into
/data/gitea/public/assets/css/
- Edit
/data/gitea/conf/app.ini
to add
[UI]
THEMES=arc-green,gitea-auto,gitea-light,gitea-dark
- Restart the Gitea container
from gitea.
Related Issues (20)
- Code search + repo indexer HOT 1
- Wrong selection of event type when creating/updating a webhook via Gitea API HOT 2
- Cannot create issue attachment via the API when using query parameter HOT 4
- Javascript promise error on dashboard HOT 9
- pubring.db.lock after unclean shutdown breaks gpg related actions
- Git grep search error HOT 6
- styles are still broken on project cards HOT 5
- tcp: write: broken pipe: [E] Render failed: failed to render template + [E] plainTextInternal (status=500) HOT 4
- Can support oceanbase? is tidb supported? HOT 2
- When using repo indexer search code in Chinese, you will get 500 error HOT 2
- broken styles on branch selector when creating an issue HOT 7
- [API] No edit history shown afer editing an issue's body
- broken styles on hover in activity HOT 7
- Show modal will cause body width becomeing smaller HOT 7
- ui bug on mobile on releases page HOT 1
- Code review comment line number problem. HOT 2
- Need to update the try.gitea.io custom template HOT 1
- Activity pages (besides Pulse) seem to no longer work HOT 8
- Pr page js error ci is null HOT 1
- Pr update branch is shows while there's nothing to update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitea.