Improved colors for the markup view's Inactive elements
Categories
(DevTools :: Inspector, enhancement)
Tracking
(firefox69 verified)
Tracking | Status | |
---|---|---|
firefox69 | --- | verified |
People
(Reporter: victoria, Assigned: miker)
References
(Blocks 1 open bug)
Details
(Whiteboard: [lang=css])
Attachments
(3 files, 1 obsolete file)
As part of work for Inactive CSS, I revisited the inactive styling which will be used in both Markup and Rules.
Going full monochrome provides more contrast between inactive and active elements. It also improves the visual look of the Markup pane by making the color differences less vague (clashing).
Mockup is the same as the Inactive CSS link:
https://mozilla.invisionapp.com/share/UQRBDJ8WCTH#/screens
This introduces a new color, #a4a4a4, but the other colors are already existing variables.
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
•
|
||
Added dark mode colors to above mockup link, so this is ready to go!
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Light theme after. changes.
Assignee | ||
Comment 4•6 years ago
|
||
Dark theme after. changes.
Assignee | ||
Comment 5•6 years ago
|
||
@victoria I have upped you a .dmg
on Slack for you to check if you are happy with the changes.
Reporter | ||
Comment 6•6 years ago
•
|
||
Awesome, thanks Mike!
Light mode looks great. For dark mode, I realized a few changes could be made - swapping the attr and val colors and making the punctuation darker:
/* markup.css | chrome://devtools/skin/markup.css */
.not-displayed .attr-value {
color: #a4a4a4;
}
.not-displayed .attr-name {
color: #787878;
}
.not-displayed {
color: #787878;
}
Assignee | ||
Comment 7•6 years ago
|
||
Colors changed as requested.
Assignee | ||
Comment 8•6 years ago
|
||
Changes:
- Applied colors from Victorias mockups.
- Removed
margin-inline-start
from the icon to move it closer to the property value.
Reporter | ||
Comment 9•6 years ago
|
||
Thanks Mike! Looking at the screenshot, it looks like the color of .not-displayed .tag
has changed? That should still be Gray-45.
Comment 10•6 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
Description
•