debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Outline View dark mode color polish

Open violasong opened this issue 7 years ago • 8 comments

These two instances of blue should be replaced by the deeper blue color used in the other search focus outlines, tab highlight, etc. image

violasong avatar Dec 05 '18 15:12 violasong

I can claim this :)

jaril avatar Dec 05 '18 17:12 jaril

Sure @notjaril It's all yours :)

AnshulMalik avatar Dec 05 '18 18:12 AnshulMalik

@violasong Just wanted to clarify. You mentioned the focus outlines and tab highlight as the "deeper blue color", but it seems both of those are different colors in the first place.

Collected the current colors being used for reference:

Element CSS Var Light Theme Dark Theme
Outline Filter --theme-highlight-blue #0074e8 #0a84ff
Sort By Name Button --theme-highlight-blue #0074e8 #0a84ff
Search Focus Outline --theme-selection-background #0074e8 #204e8a
Tab Highlight --tab-line-selected-color #0a84ff #0a84ff
table

Based on this, I take it you're asking to change the --theme-highlight-blue for the Dark Theme to be changed to the same color as Search Focus Outline instead (#204e8a)?

jaril avatar Dec 05 '18 20:12 jaril

Thanks for this investigation - by search focus outline, I meant the 1px wide border around the input field (which is #0084FF like the tab highlight). So yes, it would be great if you could change --theme-highlight-blue to --tab-line-selected-color. (I think the other color will be too dark here.)

violasong avatar Dec 05 '18 21:12 violasong

Oh wait, I take that back - theme-highlight-blue is being used everywhere as the main syntax highlighting blue color in dark mode, so it shouldn't be changed from its light-colored blue. You probably need some other variable for these to change them to #0a84ff (It's also called Blue 50 in the code)

violasong avatar Dec 05 '18 21:12 violasong

Ah, and sorry to make this more complicated, but I realized the Sort by Name icon should indeed be that darker clolor (#204e8a) so that it matches the toggle buttons in network/console.

violasong avatar Dec 05 '18 21:12 violasong

Not a problem at all. I think I understand but just to make sure I've mocked it up below - let me know if this looks right:

table2

Once I get the thumbs up I can go ahead with the PR :)

jaril avatar Dec 05 '18 22:12 jaril

Yes, this looks great! Thank you @notjaril!

violasong avatar Dec 07 '18 17:12 violasong