-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
Improve code highlighting in web UI #4447
base: main
Are you sure you want to change the base?
Conversation
Im not against changing the code block color but not this way. If we want a new one we should create a new color theme with |
Keep in mind its used in various other places as well. |
I don't think we need a full palette for a single light/dark code highlighting color. I agree the naming is not optimal and doesn't fit into the current schema. Open for suggestions. |
We dont need a full pallete right now we only have 100 and 200 just change the color of these. |
100 and 200 are usually shades of bigger palette with 100 being the lightest value. We don't have a "real" palette for
and yes, these again refer to another palette, but these values are also somewhat arbitrary and IMO not matching well in the UI. Hence I don't think that mimicking a palette is the best way forward here. There should only be one color for |
We are getting lost in discussions again. At the end, I don't really care, and |
Hm, I think this was just a normal discussion? You brought up some reasons, I replied and shared my thoughts. It is not even about subjective UI but code syntax, so I'd say such discussions are normal (and needed and good). |
Sorry this was not meant to be offensive or rude :) The color is only used in one location. While I have some personal preferences, I don't care much enough to discuss further how it is done in detail. |
@woodpecker-ci/maintainers as this might be another controversial design decision, please vote on the initial post of this PR with 👍 and 👎
This introduces a custom color. However, I found no color of the current palette to be matching here and/or creating a good contrast.
In addition, I slightly tweaked the padding and rounding values.
Before
After