Closed Bug 951794 Opened 11 years ago Closed 10 years ago

Make the tracers colors easier to read

Categories

(DevTools :: Debugger, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(3 files)

It is hard to read the parameters when a trace is selected.
Attachment #8349575 - Flags: review?(vporof)
Attached image screenshot dark theme
I used colors from our theme, but did alpha .4 and .75 on "select highlight blue" to tone it down a little bit and make it so you could still read the grey parameter text.
Attachment #8349577 - Flags: ui-review?(dhenein)
Attachment #8349577 - Attachment description: Screen Shot 2013-12-18 at 11.38.10 AM.png → screenshot dark theme
Comment on attachment 8349575 [details] [diff] [review]
tracing-colors.patch

Review of attachment 8349575 [details] [diff] [review]:
-----------------------------------------------------------------

Code changes look ok to me.
Please also attach a screenshot with the light theme.

::: browser/themes/linux/devtools/debugger.css
@@ +125,5 @@
>  .trace-name {
>    -moz-padding-start: 4px !important;
>  }
>  
> +#tracer-traces > scrollbox {

This should be in content css, not theme.

@@ +150,5 @@
> +.theme-dark .trace-item.selected-matching {
> +  background-color: rgba(29, 79, 115, .4); /* Select highlight blue at 40% alpha */
> +}
> +
> +.theme-dark .selected > .trace-item {

.trace-item.selected didn't work?

@@ +194,5 @@
> +.theme-light .trace-item.selected-matching {
> +  background-color: rgba(76, 158, 217, .4); /* Select highlight blue at 40% alpha */
> +}
> +
> +.theme-light .selected > .trace-item {

Ditto as above.
Attachment #8349575 - Flags: review?(vporof) → review+
(In reply to Victor Porof [:vp] from comment #3)
> @@ +150,5 @@
> > +.theme-dark .trace-item.selected-matching {
> > +  background-color: rgba(29, 79, 115, .4); /* Select highlight blue at 40% alpha */
> > +}
> > +
> > +.theme-dark .selected > .trace-item {
> 
> .trace-item.selected didn't work?

No because we have that extra hbox wrapper (bug 949729) so our dom looks like:

<hbox class="selected">
  <hbox class="trace-item">...</hbox>
</hbox>
(In reply to Victor Porof [:vp] from comment #3)
> Comment on attachment 8349575 [details] [diff] [review]
> tracing-colors.patch
> 
> Review of attachment 8349575 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Code changes look ok to me.
> Please also attach a screenshot with the light theme.

You're too quick ;) It is there now.
(In reply to Nick Fitzgerald [:fitzgen] from comment #5)
> 
> You're too quick ;) It is there now.

Arguments still blend a bit too much with the selection background to my eye, but that might just be me.
The dark theme looks gorgeous.
Landing this as there are some other bugs depending on this patch, but let's keep this open to fiddle with the colors more after an ui-review.
Whiteboard: [leave open]
https://hg.mozilla.org/integration/fx-team/rev/25681ba51fb8
Whiteboard: [leave open] → [leave open][fixed-in-fx-team]
P3. Looks nice.

Do we really need to leave this open?
Priority: -- → P3
Attachment #8349575 - Flags: checkin+
Comment on attachment 8349577 [details]
screenshot dark theme

Dark theme looks awesome, I think the light theme arguments could be a bit lighter to increase contrast when selected. However, I'm not against landing this and revisiting...
Attachment #8349577 - Flags: ui-review?(dhenein) → ui-review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Whiteboard: [leave open]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: