Closed Bug 966640 Opened 10 years ago Closed 10 years ago

The right margin of the side menu widget should match the new splitter color on the dark theme

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: vporof, Assigned: vporof)

Details

Attachments

(1 file)

#222426 is not #000
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8369080 - Flags: review?(bgrinstead)
Comment on attachment 8369080 [details] [diff] [review]
widget-colors2.patch

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

The splitter color change looks good, but I'm not sure if there is a reason why the selectionTextColor variable has been removed

::: browser/themes/shared/devtools/widgets.inc.css
@@ +418,5 @@
>  }
>  
>  .theme-dark .side-menu-widget-item.selected {
>    background-color: #1d4f73; /* Select Highlight Blue */
> +  color: #f5f7fa; /* Light foreground text */

Is there a reason why this variable has been removed and replaced with the color in 4 places here?
Attachment #8369080 - Flags: review?(bgrinstead)
(In reply to Brian Grinstead [:bgrins] from comment #2)
> Comment on attachment 8369080 [details] [diff] [review]

It's inconsistently used in that particular widget, at least. This "light foreground text" color is used both as @smw_selectionTextColor@ and as #f5f7fa. We should just pick one. Since we're using standard colors now from the wiki, I thought I'd remove it and follow what every other css file does.

I can do this in a different bug if you want, or in a different way.
Flags: needinfo?(bgrinstead)
(In reply to Victor Porof [:vp] from comment #3)
> (In reply to Brian Grinstead [:bgrins] from comment #2)
> > Comment on attachment 8369080 [details] [diff] [review]
> 
> It's inconsistently used in that particular widget, at least. This "light
> foreground text" color is used both as @smw_selectionTextColor@ and as
> #f5f7fa. We should just pick one. Since we're using standard colors now from
> the wiki, I thought I'd remove it and follow what every other css file does.
> 
> I can do this in a different bug if you want, or in a different way.

That's fine.  We are going to have to do a big find/replace at some point anyway when we switch to CSS variables or switch to new theme colors, so I don't really mind having duplicated colors around as long as they are used consistently
Flags: needinfo?(bgrinstead)
Attachment #8369080 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/fb7a29f77890
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 29
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: