debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Default icon color should use --theme-icon-color

Open fvsch opened this issue 7 years ago • 9 comments

For consistency with other panels and Photon guidelines, Debugger buttons should use this color variable for their default state: --theme-icon-color.

This maps to:

  • Light theme: Grey 90 at 80% opacity (as specified by Photon guidelines)
  • Dark theme: Grey 40 (specific to DevTools; Firefox uses Grey 10 at 70% opacity, but the effect is similar)

The best way to test is to set --theme-icon-color to an outrageous color like lime, and check that it applies to all icons.

In a first pass we could apply this color to the "Collapse panes" icons, to the "Pause", "Step..." and "Deactivate..." icons in the sidebar, and to the "Pretty print" and "Blackbox" icons in the footer.

fvsch avatar Jan 17 '19 14:01 fvsch

@notjaril This may be something to keep in mind when you look at the icon stuff, since they're all in buttons.

darkwing avatar Jan 18 '19 19:01 darkwing

Small update: if D17075 lands, the relevant variables will be named:

  • --theme-icon-color for the normal state
  • --theme-icon-checked-color for icons which have a "checked" state

fvsch avatar Jan 20 '19 19:01 fvsch

I can take this up but would require some assistance as to where to start from

varundey avatar Jan 20 '19 19:01 varundey

@varundey I'm finishing a PR on #7735 which is closely related to this issue. I should get the PR in by Wednesday - do you mind waiting until then to start work on this?

jaril avatar Jan 21 '19 00:01 jaril

@notjaril Sure! :)

On Mon, Jan 21, 2019, 5:34 AM Jaril Valenciano <[email protected] wrote:

@varundey https://github.com/varundey I'm finishing a PR on #7735 https://github.com/devtools-html/debugger.html/issues/7735 which is closely related to this issue. I should get the PR in by Wednesday - do you mind waiting until then to start work on this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/devtools-html/debugger.html/issues/7743#issuecomment-455915233, or mute the thread https://github.com/notifications/unsubscribe-auth/AIxp18RZlIuZ0yD9eeLCJZ78TbdTuCOiks5vFQQDgaJpZM4aFmML .

varundey avatar Jan 21 '19 04:01 varundey

Hey @fvsch, can I work on this issue?

rjairath avatar Feb 06 '19 19:02 rjairath

@rjairath I'm working on a PR (#7890) that should also fix this. ^^ I'm going assign this issue to myself, to check if needs further work after that PR lands.

fvsch avatar Feb 06 '19 21:02 fvsch

/claim

fvsch avatar Feb 06 '19 21:02 fvsch

Thanks for claiming the issue! :wave:

Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.

:fox_face: Debugger team!

claim avatar Feb 06 '19 21:02 claim