Open Bug 1759417 Opened 3 years ago

[meta] Reduce usage of hardcoded dark-theme colors in the debugger

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

(Keywords: meta)

The debugger uses a lot of hardcoded colors for dark theme, cf Bug 1758725.

https://searchfox.org/mozilla-central/search?q=theme-dark&path=debugger%2F**%2F*.css

I imagine this is a leftover of the Github days? It was maybe harder to use the variable from DevTools at that time. But this makes the debugger CSS hard to keep consistent with DevTools theme change. We should update that to use variables, preferably from variables.css

https://searchfox.org/mozilla-central/source/devtools/client/themes/variables.css

We should also review the role of debugger's own variables.css file:
https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/components/variables.css

You need to log in before you can comment on or make changes to this bug.