-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
The header icons are not visible when choosing a light background #35482
Comments
I mean, they are also not properly visible if you pick a checkerboard background or something like that. If you pick a custom background, the automatic color extraction by @skjnldsv will mostly take care of it (and set e.g. white as background color, so the icons would then be dark). However if the majority of the image is not white, it can still be fixed by changing the color. No additional setting needed I'd say. |
I fear this is not how it works in my testing unfortunately... See the screenshot I've sent. (It chose dark blue for an almost completel white picture... |
No, this will not work reliably. |
The invert of the top header is not based on the primary colour. |
What about this idea? |
For me the only one that would work. |
This comment was marked as resolved.
This comment was marked as resolved.
@jancborchardt would this be fine for you as well? |
This comment was marked as resolved.
This comment was marked as resolved.
Yes, these are edge cases and unfortunately it would be difficult to make sure all cases are taken care of perfectly through automation. A switch for icons sounds the best to me as well, it can be a toggle with "Invert icon colors in the header" and it is off by default every time a new background is chosen. A background for all the other items where there may be visibility issues would look like this: I am not sure if this is a design we want. Perhaps if the background is causing so many issues it's simpler to just change the background :) cc @jancborchardt |
I agree, so just adding the background on the greeting (dashboard) + login page would allow much more images so that adding an invert-icons switch should work :) Especially on the login page we need an background, as even for the default image it breaks (currently only works for some users, see issue #36950 ). |
I think on the login page yep that’s fine and needed, as you say @susnux. The "Welcome" text starts looking a bit strange and ugly with the container around. We could make the text a tiny bit bigger as well, which can also fix contrast issues. And also tbh, custom backgrounds are not covered by contrast requirements. As said if there’s a checkerboard background, or a screenshot or similar, then that’s just not something you should choose. That’s why I would say we shouldn’t do anything like a container for the big "Welcome" text or the apps header. For example, we should also never put the Nextcloud logo on the login page inside a container because that will just make it look very ugly. |
How can we work around the following issue?
The header icons are not visible when choosing a light background image (same for admin chosen background image):
![image](https://user-images.githubusercontent.com/42591237/204506475-0edcbc2d-db96-473a-9196-b2dde9e7036e.png)
What about adding a switch that allows to invert the header icons? (I fear Ii don't see any other good solution to automate this)
cc @nimishavijay @jancborchardt
The text was updated successfully, but these errors were encountered: