Skip to content

Adapt Tree row toggle button to High Contrast Mode.#5238

Merged
julienw merged 2 commits into
firefox-devtools:mainfrom
nchevobbe:hcm-arrows
Dec 3, 2024
Merged

Adapt Tree row toggle button to High Contrast Mode.#5238
julienw merged 2 commits into
firefox-devtools:mainfrom
nchevobbe:hcm-arrows

Conversation

@nchevobbe

Copy link
Copy Markdown
Member

Use CSS variable to manage the colors of the arrow in its differents states, and override the variable in forced-colors with system colors.

On regular and selected node:
Dark HCM: image
Light HCM: image

Active on regular and selected node
image
image
image
image

Use CSS variable to manage the colors of the arrow in its differents
states, and override the variable in forced-colors with system colors.
@codecov

codecov Bot commented Dec 2, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.61%. Comparing base (469bf5c) to head (e577023).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5238   +/-   ##
=======================================
  Coverage   88.61%   88.61%           
=======================================
  Files         308      308           
  Lines       28084    28084           
  Branches     7610     7610           
=======================================
  Hits        24887    24887           
  Misses       2983     2983           
  Partials      214      214           

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

@nchevobbe nchevobbe added the accessibility Related to making the profiler UI accessible label Dec 2, 2024

@julienw julienw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good to me, thanks

@julienw julienw enabled auto-merge (squash) December 3, 2024 16:02
@julienw julienw merged commit bc659ec into firefox-devtools:main Dec 3, 2024
@canova canova mentioned this pull request Dec 12, 2024
canova added a commit that referenced this pull request Dec 12, 2024
[Sean Kim] Add Class of Service for a request in the profiler network
tab (#5228)
[Nisarg Jhaveri] Allow loading gzipped profiles from more endpoints
(#5215)
[Nicolas Chevobbe] Adapt Tree row toggle button to High Contrast Mode.
(#5238)
[Jon Coppeard] Display malloc heap size data in GCMajor markers (#5239)
[Nicolas Chevobbe] Opt-out of forced-colors for colored-square and
colored-border (#5237)
[Yuval Mizrachi] Support colored bandwidth and memory tracks (#5232)
[Nicolas Chevobbe] Adapt context menu to High Contrast Mode (#5244)
[Nazım Can Altınova] Show Chrome extension instructions in the homepage
if visited from Chromium browsers (#5251)

And thanks to our localizers:
de: Michael Köhler
en-GB: Ian Neal
fr: Théo Chevalier
fr: felash
fy-NL: Fjoerfoks
it: Francesco Lodolo [:flod]
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: Valery Ledovskoy
uk: Francesco Lodolo [:flod]
uk: Markevych Dmytro Vitaliyovych
zh-CN: Olvcpr423
tenderlove pushed a commit to tenderlove/profiler that referenced this pull request Dec 21, 2024
…#5238)

Use CSS variable to manage the colors of the arrow in its differents
states, and override the variable in forced-colors with system colors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Related to making the profiler UI accessible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants