Skip to content

Tweak dark mode colours.#5767

Merged
mstange merged 4 commits intofirefox-devtools:mainfrom
mstange:tweak-dark-mode-colors
Jan 22, 2026
Merged

Tweak dark mode colours.#5767
mstange merged 4 commits intofirefox-devtools:mainfrom
mstange:tweak-dark-mode-colors

Conversation

@mstange
Copy link
Contributor

@mstange mstange commented Jan 21, 2026

Deploy preview home, Deploy preview profile

This removes the blue tint and fixes lots of small things.

Light mode (should be unchanged compared to current production):
Screenshot 2026-01-21 at 4 32 05 PM

Dark mode with fix:
Screenshot 2026-01-21 at 4 34 08 PM

Dark mode before fix:
Screenshot 2026-01-21 at 4 35 02 PM

@mstange mstange requested a review from canova January 21, 2026 21:40
@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.71%. Comparing base (06b0dc2) to head (1d5d774).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/components/marker-chart/Canvas.tsx 60.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5767   +/-   ##
=======================================
  Coverage   85.71%   85.71%           
=======================================
  Files         317      317           
  Lines       31216    31216           
  Branches     8595     8499   -96     
=======================================
  Hits        26756    26756           
  Misses       4030     4030           
  Partials      430      430           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@canova canova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! The new colors look better indeed. I like that they are closer to the Firefox UI and DevTools dark mode colors. Let's land it.

Not for this PR, but the only places I would slightly prefer the old tinted colors are that the home page and the profile loading screen. I think it's because of the blue background color, to me it looks like 2 colors fit better compared to the blue background + black/dark gray-ish content background.

See before:

Image

And after:

Image

And similar for the profile loading
Before:

Image

After:
Image

But an opposing argument could be having cohesive color palette between the homepage and the profile analysis page. But again, the blue background on the homepage is kinda unique and we don't use it in the background in the analysis page. I don't feel very strongly about this but wanted to get your opinion as well. What do you think?

And of course I'm happy to land this PR this way, and think about the improvements later after discussing them.

@mstange mstange force-pushed the tweak-dark-mode-colors branch from 48f843a to 1de8aea Compare January 22, 2026 17:26
@mstange mstange force-pushed the tweak-dark-mode-colors branch from 1de8aea to 1d5d774 Compare January 22, 2026 17:27
@mstange
Copy link
Contributor Author

mstange commented Jan 22, 2026

I agree, those views look better with ink.

I've made that change and also added two commits for #5773. Hopefully I've not broken anything on the way.

@mstange mstange enabled auto-merge January 22, 2026 17:27
@mstange mstange merged commit ee7f84f into firefox-devtools:main Jan 22, 2026
19 checks passed
@canova canova mentioned this pull request Jan 27, 2026
canova added a commit that referenced this pull request Jan 27, 2026
Lots of exciting changes 🎉:

[arai-a] Put radio buttons into labels (#5738)
[DaniPopes] Update comment for "unique-string" (#5741)
[Karan Pradhan] Hide tooltip filter button in non-sticky tooltips and
add hideFilterButton tests (#5718)
[arai-a] Add a menu to copy the Marker Table as text (#5732)
[arai-a] Make the entire list item clickable for the "Full Range"
(#5742)
[Markus Stange] Move symbol table demangling out of SymbolStore into
SymbolProvider (#5746)
[Markus Stange] Remove SVG asset imports from profile-data.ts (#5747)
[arai-a] Do not apply sticky tooltip on double click (#5754)
[arai-a] Skip the ChartCanvas redraw on the Viewport's internal default
state usage (#5744)
[Markus Stange] Stop blindly extracting uint8array.buffer after calling
compress() (#5753)
[Markus Stange] In the assembly view state, refer to the current symbol
by index (#5755)
[Markus Stange] Fix "scroll to hotspot" functionality in the source view
+ assembly view (#5759)
[Markus Stange] Keep the colorField markerSchema field when processing
profiles in the gecko format (#5760)
[Markus Stange] Implement dark mode (#5740)
[Markus Stange] Fix light-mode colors (#5765)
[Markus Stange] Tweak dark mode colours. (#5767)
[Nazım Can Altınova] Enable some basic type-aware lints (#5775)
[Markus Stange] Allow seeing different assembly code for the same
function (#5349)
[fatadel] Refine tree view a11y (#5779)
[fatadel] Align double-click behavior of stack chart with flame graph
(#5782)
[Markus Stange] Split gz.ts properly into node and browser variants
(#5764)
[Markus Stange] Simplify and optimize the computation of per-call-node
line and address timings (#5770)
[Nazım Can Altınova] Move the dark mode toggle to devtools console
(#5783)
[Nazım Can Altınova] 🔃 Sync: l10n -> main (Jan 27, 2026) (#5785)
[Nazım Can Altınova] Improve Chrome importer marker payload logic
(#5717)
[Markus Stange] Add a Focus Self transform (#5774)
[Nazım Can Altınova] Enable the Turkish locale in production (#5786)


And huge thanks to our localizers 🎉 :

be: Mikalai Udodau
de: Ger
de: Michael Köhler
el: Jim Spentzos
en-CA: chutten
en-CA: Saurabh
en-GB: Ian Neal
en-GB: Saurabh
es-CL: ravmn
fy-NL, nl: Fjoerfoks
fr: Skywarp
fr: Théo Chevalier
fur: Fabio Tomat
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo [:flod]
nl: Fjoerfoks
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: berry
ru: Valery Ledovskoy
sv-SE: Andreas Pettersson
tr: Grk
zh-CN: Olvcpr423
zh-CN: wxie
zh-TW: Pin-guang Chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants