Open
Bug 1014629
Opened 10 years ago
Updated 2 years ago
DevTools themes: deal with .theme-bg-contrast color
Categories
(DevTools :: Shared Components, defect, P3)
DevTools
Shared Components
Tracking
(Not tracked)
NEW
People
(Reporter: bgrins, Unassigned)
References
(Blocks 1 open bug)
Details
We should either add a variable for the bg contrast color (and probably rename it to something like --theme-background-attention), or just use the light orange color from https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors.
Updated•8 years ago
|
Blocks: dt-theme-cleanup
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•6 years ago
|
||
Is this the same color as the DOM-changing orange that briefly appears?
Flags: needinfo?(bgrinstead)
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Victoria Wang [:victoria] from comment #1) > Is this the same color as the DOM-changing orange that briefly appears? Yep, and looks like that's really the only thing this class is used for. It looks like we are now using `var(--theme-contrast-background)` for this class, which is also used for a number of different things in the UI. https://searchfox.org/mozilla-central/rev/1410bb760a5e77236b74999807f5500bd285a57d/devtools/client/themes/light-theme.css#38 https://searchfox.org/mozilla-central/search?q=theme-contrast-background&path= So I think this can be resolved now, unless if you want to use it to make a change to the color or where we use it.
Flags: needinfo?(bgrinstead)
Comment 3•6 years ago
|
||
Ah thanks! I believe the DOM changing also affects the variable --rule-highlight-background-color? I'm interested in changing this color in both themes (for better contrast and to match design system). Yellow-70 should work for selected rows, and I think the current work on unifying all yellow highlights in this issue will help us determine the color for non-selected rows: https://github.com/devtools-html/ux/issues/14 Once design discussion in that issue is complete, I can file a new bug for (good first bug) implementation or we can reuse this bug.
Updated•5 years ago
|
Component: General → CSS and Themes
Comment 4•5 years ago
|
||
Please let's reuse this bug for the implementation once the design discussion is done. Thanks!
Priority: -- → P3
Assignee | ||
Updated•2 years ago
|
Component: CSS and Themes → Shared Components
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•