-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
6.2.x styling changes make Kibana hard to read. #16662
Comments
Was there a change in font-weight attributes here? Yeah, I know, I should be lighting up installs of each and checking, but if someone can hit each the inspector on each of the samples above? Here's why I ask, we've got an issue of luminosity that appears to be font-weight related, possibly color related. I suspect the former as I think what's happening is that the aliasing that occurs in the course of rendering a font whose color is #FF mean there are other parts of the character that aren't quite #FF so the character is nice, smooth, readable, and not something out of the green screens from the 1970's. Rather than blather on here are 3 screenshots of the samples against a Colour Analyser. 6.1.3 in Chrome comparing the font color #FF with a strong font-weight against the background #15571: 6.1.3 in Chrome comparing an aliased portion of the same character with a stronger font-weight w/a color #E8F1E8 against the background #15571: 6.2.1 in Chrome comparing an aliased portion a not so stong font-weight rendering at a color (possibly aliased) with #D8E6EA against a background of #15571 When I get a chance, I'll see if I can't get the inspector stood-up on the option with builds on each to see the actual font-weight and color attributes of the above samples ... but that won't be for a few days ... possibly a week ... faster if anyone has any URLs to share :) |
I had @svencowart (best UI developer that I know) take a look and he quickly narrowed in on the issue. The problem is related to If you search for issues with Webkit and font-smoothing, you will find plenty of complaints and not a lot of solutions. This is why I see the issue on Chrome and Safari... they are the Webkit browsers. Apparently if font-smoothing is applied at the end, after the page is rendered, it works. Try this in developer tools and you will see that setting it to something like @timroes I notice you set the triage_needed tag. I think the above troubleshooting may point in the right direction. |
@robcowart , yeah, sounds like your UI guy is on target with their assessment. |
Here is how to fix this... In the directory
In each of these files find the style attributes for the
Delete Finally delete the directory |
Just some comments. The background color for that nav area changed in 6.0 alpha and hasn't changed since then. The screenshots for contrast you're linking to are using imperfect eye pickers and not the actual hex codes used, so your screenshots as pasted above are not correct. As mentioned, the colors in use there haven't changed since we upped contrast for accessibility and still continue to pass. Inspect the document and look for the hex codes themselves when doing these kinds of checks. The eyedroppers will always lie. https://github.com/elastic/kibana/pull/12085/files On to the real culprit. Font-smoothing was turned on when we removed the bootstrap reset (as we started to transition towards EUI usage across Kibana). FWIW it's usually preferred for the use case you list (light text on dark backgrounds). It tends to be a fairly subjective design decision. More often than not it is preferred by people who are used to more OSXey style text rendering. In the end there's no setting that everyone will prefer so I'm inclined to remove it for the simple reason that it has no plans to be included in the standard CSS spec. |
As a design decision it may be subjective, but from an accessibility or readability perspective it would appear wise to remove Any way I can help getting this fixed? Should I create a pull request? |
Font smoothing will be removed with elastic/eui#539 Further, we now provide full color combo legibility tests for Kibana's new UI framework at https://elastic.github.io/eui/#/guidelines/colors if you're curious about how we test for this. The Elastic UI Framework is not in full usage across Kibana, so expect these formulas and standards to gradually move into Kibana as we move towards 7.0. Till then pieces of Kibana might reflect legacy color combinations. |
Thanks for the update @snide. Regarding testing, I noticed your comment, in the issue which you linked to, that you prefer the font-smoothing being enabled. I can guess from that that you have a retina display, maybe even the LG 5K monitor (as many at Elastic do). I will admit that font-smoothing looks OK on those screens. However, the vast majority of users don't have that luxury. Ideally testing would include inspection of things on more common monitors. |
@robcowart Yep. And that's ultimately why I think it's better to remove it. No worries, I agree it makes sense. I also just wanted to put together some resources to give the community a place to see what Kibana design has brewing so you aren't necessarily reacting to things as we release them. As you can peep from that repo we're taking accessibility and inclusive design pretty seriously around here. |
Kibana version:
6.2.0 and 6.2.1
Elasticsearch version:
6.2.0 and 6.2.1
Server OS version:
Centos 7 and MacOS
Browser version:
Chrome - 64.0.3282.140 (Official Build) (64-bit)
Safari - 11.0.2 (13604.4.7.1.3)
Browser OS version: MacOS
Original install method (e.g. download page, yum, from source, etc.): yum repo (CentOS) mac download (MacOS)
Description of the problem including expected versus actual behavior:
Changes in 6.2.x are making Kibana harder to read (examples are nav bar, but it shows up other places too). This is negatively impacting users.
6.1.3 in Chrome... easy to read.
6.2.1 in Chrome... hard to read.
6.21 in Safari... also hard to read.
However 6.2.1 in Firefox (58.0.1 64-bit) looks fine.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: