Fire button hover animation turns grayish between its two gradients in dark mode
Categories
(Firefox :: Theme, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: jleritte, Assigned: jleritte)
References
Details
Attachments
(1 external file)
The fire button's hover animation (behind browser.fireButton.enabled, added in bug 2076799) goes through a grayish, desaturated step between the bright flare gradient and the lighter settled gradient. It is most visible in dark mode; light mode has a milder version of it.
Steps to reproduce:
- Set
browser.fireButton.enabledto true and restart, with a dark theme. - Hover the fire button in the toolbar.
Expected: the flame goes straight from the bright gradient to the light one.
Actual: halfway through the settle, the flame looks dull and grayish.
The flame is three stacked layers (fire-button-flame-rest, -flare, -settled) in browser/themes/shared/toolbarbutton-icons.css. During the settle, the flare fades out while the settled layer fades in on top of it, so at the midpoint about a quarter of the toolbar hover background shows through the flame. Measured in dark mode, the flame's average saturation drops from 92% at the flare peak to 43% at 400ms before recovering. The grow phase (purple to flare) has the same issue, briefly.
Fix: keep the lower layer fully opaque while the upper one fades in over it, and hide it only once it is covered. Colors, timing and shapes stay the same. The designer has signed off on the fix.
| Assignee | ||
Comment 1•1 month ago
|
||
The flare faded out while the settled flame faded in on top of it, so halfway through the settle about a quarter of the hover background showed through, turning the flame grayish in dark mode. The purple flame and the flare had the same issue during the grow. Each layer now stays opaque until the one fading in above it covers it.
Updated•1 month ago
|
Comment 3•1 month ago
|
||
| bugherder | ||
Description
•