Skip to content
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

WebUI: Darker colors for dark theme #21498

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antanilol
Copy link
Contributor

Set darker rows, hover and blue background colors for the WebUI dark theme

@luzpaz
Copy link
Contributor

luzpaz commented Oct 4, 2024

screenshot of before and after? Also what have you tested on ? (there are several platforms we need to take into consideration)

@thalieht thalieht added WebUI WebUI-related issues/changes Look and feel Affect UI "Look and feel" only without changing the logic labels Oct 4, 2024
@thalieht
Copy link
Contributor

thalieht commented Oct 4, 2024

screenshot of before and after?

Before, After:

@antanilol
Copy link
Contributor Author

In my screens the difference between rows is a little more visible than in that photo. Here are the screenshot

Before:
Screenshot 2024-10-04 185901
After:
Screenshot 2024-10-04 190202

@Pentaphon
Copy link

Before, After:

That is a huge improvement and this should be merged immediately for 5.0.1

@HanabishiRecca
Copy link
Contributor

HanabishiRecca commented Oct 7, 2024

In my screens the difference between rows is a little more visible

You have tweaked gamma or something in your system.
@thalieht screenshots are accurate.

Here is one from me:
image
The contrast between alternating rows is too low.

@antanilol
Copy link
Contributor Author

Ok, I have tried with firefox and it is like your screenshot, I didn't think that changing the browser only would change how the colors are displayed, my screenshot are from Edge, yours from Firefox I suppos. What a nightmare for designers lol

I don't know which is correct, but setting the css to --color-background-default: hsl(0deg 0% 15%); is good enough for both browsers I tried, can you try this too?

@HanabishiRecca
Copy link
Contributor

HanabishiRecca commented Oct 8, 2024

Hmm, yeah, Chromium does indeed have different colors here and resembles your screenshots.

Turns out we never actually set the backgound color for the page. So browsers simply pick arbitrary "dark" color. I think we need to fix that first.

@antanilol
Copy link
Contributor Author

Turns out we never actually set the backgound color for the page. So browsers simply pick arbitrary "dark" color. I think we need to fix that first.

Well, we can always change that later lol

Jokes aside, I don't know when the next minor release is planned, but for me this change it's really important since I really have a hard time using the web ui as it is now

@Pentaphon
Copy link

This should really come to a 5.0.1 or 5.0.x release. Any update?

Chocobo1 pushed a commit that referenced this pull request Nov 29, 2024
This PR ensures that the same base background color is used across different browsers (more consistent styling).
Context: #21498 (comment)
Used default Chrome colors: #21894 (comment)

PR #21914.
@HanabishiRecca
Copy link
Contributor

Now when #21914 is merged, I think this PR could be rebased and proceed.

I'm not sure about that brown highlight color though. Maybe instead of darkening the existing color, come up with a new one?

@antanilol antanilol force-pushed the antanilol-dark-theme-better branch from 49badf8 to 3d5f910 Compare December 12, 2024 14:57
@skomerko
Copy link
Contributor

@Chocobo1, @thalieht could this be approved and added in 5.0.3?

@thalieht
Copy link
Contributor

@Chocobo1, @thalieht could this be approved and added in 5.0.3?

For me, the contrast of alternating row colors is still not good enough but i don't want to say anything because the problem could be on my side (e.g. monitor colors, and this wouldn't be the first time).

@antanilol antanilol force-pushed the antanilol-dark-theme-better branch from 3d5f910 to 266620d Compare December 17, 2024 14:36
@antanilol
Copy link
Contributor Author

antanilol commented Dec 17, 2024

For me, the contrast of alternating row colors is still not good enough but i don't want to say anything because the problem could be on my side (e.g. monitor colors, and this wouldn't be the first time).

I set it to be slightly lighter now
Edit: I set it back darker, even 1% lighter is too light for me. What do you all think?

Set darker rows, hover and blue background colors
@antanilol antanilol force-pushed the antanilol-dark-theme-better branch from 266620d to 1fe1dfe Compare December 17, 2024 15:00
@antanilol
Copy link
Contributor Author

If we want to choose a different color for the rows on hover (instead of the current brown-ish) we can use this:
--color-background-hover: hsl(160deg 42% 22%);
Here is a preview with this color:
image
The current color is:
Screenshot 2024-10-04 190202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Look and feel Affect UI "Look and feel" only without changing the logic WebUI WebUI-related issues/changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants