Skip to content

The focus border is too subtle #24

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

Closed
Tyriar opened this issue Jun 8, 2020 · 11 comments · Fixed by #42 or #43
Closed

The focus border is too subtle #24

Tyriar opened this issue Jun 8, 2020 · 11 comments · Fixed by #42 or #43
Labels
UI/UX Issues regarding the UI or the UX of the extension

Comments

@Tyriar
Copy link
Member

Tyriar commented Jun 8, 2020

It's too difficult imo to tell the difference between selected unfocused:

image

And selected focused:

image

The only difference is it looks slightly blurry.

@lramos15 lramos15 added enhancement UI/UX Issues regarding the UI or the UX of the extension labels Jun 11, 2020
@Tyriar
Copy link
Member Author

Tyriar commented Jun 11, 2020

You shouldn't just use the status bar bg for this as then theme authors will have problems with it - a lot of themes use a very muted status bar background. focusBorder is good, I think the problem is more with the background color applied to the focused cell. Consider all the states a cell can be in, you should be able to easily differentiate each of them, and not just by color is important for accessibility.

@Tyriar Tyriar reopened this Jun 11, 2020
@lramos15
Copy link
Member

I was trying to use VS Code colors to allow theme authors to still be able to theme everything / not have to maintain my own color palettes as extensions only get access to three "categories" of themes which is light, dark, and high contrast. I'll ask @misolori his thoughts and what the best color scheme might be.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 11, 2020

Perhaps borrowing from the list colors would be better?

@miguelsolorio
Copy link

I think you're running into the issue where we don't normally uses list colors and focus together, there are specific tokens for each one.

One alternative you could try is to fade out the text that isn't selected and use the list color styles, and then apply an offset on the outline so it stand out:

image

@lramos15
Copy link
Member

I don't really like the grey text with light grey headers as I feel the contrast between the two is lost. I do really like the thicker outline with a little bit of offset as I believe that makes it look super clear what is focused.
image

Thoughts on this?

@miguelsolorio
Copy link

It's better, but it's really hard to focus on it because of the white text in the background. The decoded text part is easier to scan because of this. Another thing you can explore is making sure all of the number elements are evenly squared (makes it easier to scan). Right now it's wider and makes your eyes work a bit harder.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 12, 2020

@misolori making them square would reduce the amount of rows that can fit on the page?

@miguelsolorio
Copy link

@Tyriar probably, but it's so much easier to read:

Before

image

After

image

@Tyriar
Copy link
Member Author

Tyriar commented Jun 12, 2020

Personally I tend to not like reducing information density like this, it's cutting off ~1/3 of the content which could be important for the task at hand and end up increasing the amount of scrolling needed. Leveraging editor.lineHeight would be better imo as that's the user's preference.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 12, 2020

Looks like the PR will only be square for certain font family/size combinations.

@lramos15
Copy link
Member

I can look into editor.lineheight I'm not really sure what the best solution is here. I feel that the offset helps a lot and solves the underlying problem. The squaring is to supposed to help with readability and I'm not sure if it makes a huge difference as the ascii section cannot be square due to the use of spans.

@lramos15 lramos15 mentioned this issue Jun 15, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI/UX Issues regarding the UI or the UX of the extension
Projects
None yet
3 participants