Closed Bug 1212958 Opened 9 years ago Closed 3 years ago

Change and unify the splitter colors

Categories

(DevTools :: Shared Components, defect, P5)

defect

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: ntim, Assigned: sebo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [polish-backlog][devtools-ux])

Attachments

(1 file)

We currently have different splitter colors:
- #aaa (devtools light theme)
- #d0d0d0 (DevEdition light)
- #000 (Devtools dark theme)
- rgba(255,255,255,0.15) (Devtools tables - dark theme)
- rgba(0,0,0,0.15) (DevTools tables - light theme)

Older mockups by Stephen for reference: http://people.mozilla.org/~shorlander/mockups/devTools/ux-refresh-2013/
Also, it would be nice to unify our "secondary" splitter colors (like the horizontal splitters that separate sections in the rules view, the font inspector or the style editor media sidebar).
(In reply to Tim Nguyen [:ntim] from comment #1)
> Also, it would be nice to unify our "secondary" splitter colors (like the
> horizontal splitters that separate sections in the rules view, the font
> inspector or the style editor media sidebar).

IIRC those are using --theme-splitter-color from https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors (i.e. #aaa and #000).

I like the idea of lightening up the light theme one a bit (maybe to match the original mocks) and then also getting off of a full black on the dark theme.
Whiteboard: [devtools-ux]
(In reply to Brian Grinstead [:bgrins] from comment #2)
> I like the idea of lightening up the light theme one a bit (maybe to match
> the original mocks) and then also getting off of a full black on the dark
> theme.

Relevant: https://bugzilla.mozilla.org/show_bug.cgi?id=1205330
Also, for reference all the variables are defined in devtools/client/themes/variables.css (just moved them there in bug 1210954)
Depends on: 1210954
Whiteboard: [devtools-ux] → [polish-backlog][devtools-ux]
Product: Firefox → DevTools
Component: General → CSS and Themes

There are other areas that need some color unification, not just splitters. I'll take a look, see what we've got, and file a new bug for this or update the scope of this one.

Priority: -- → P5

This change unifies the different colors of splitters used within the different panels.

"Splitter" here referes to a thin (usually one pixel wide) line between different items in the UI. It does not mean borders around items.

Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED

I want to explicitly note again that the attached patch only covers real splitters. That means thin lines between items.

I think (table) borders should be handled separately. They might reuse the same color variable in the end, though.

Sebastian

Attachment #9204060 - Attachment description: Bug 1212958 - Unified splitter colors throughout DevTools. r=ladybenko → Bug 1212958 - Unified splitter colors throughout DevTools. r=victoria
Pushed by sebastianzartner@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b6599e370ed9
Unified splitter colors throughout DevTools. r=victoria
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Component: CSS and Themes → Shared Components
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: