Closed
Bug 1953581
Opened 13 days ago
Closed 11 days ago
ghost buttons don't inherit the color properly
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
138 Branch
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fidefe-profile-management])
Attachments
(3 files)
No description provided.
Assignee | ||
Comment 1•13 days ago
|
||
Without this change, consider a ghost button like:
<div style="color: white; background: black;">
<moz-button type="ghost">Foo</moz-button>
The <button> inside the shadow tree will get color:
var(--button-text-color), and then .button-background would get
var(--button-text-color-ghost), which will inherit --button-text-color
rather than the color you want (white in this case).
Instead, inherit the color through the button by default.
Depends on D241274
Updated•13 days ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•13 days ago
|
||
Much like D237760.
Depends on D241275
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/94ae18cad0f6
Make moz-button really respect --button-text-color-ghost. r=desktop-theme-reviewers,reusable-components-reviewers,dao,tgiles
https://hg.mozilla.org/integration/autoland/rev/d2d7e7eb2f94
Make ghost buttons not change color on hover/active. r=desktop-theme-reviewers,reusable-components-reviewers,dao,tgiles
https://hg.mozilla.org/mozilla-central/rev/94ae18cad0f6
https://hg.mozilla.org/mozilla-central/rev/d2d7e7eb2f94
Status: ASSIGNED → RESOLVED
Closed: 11 days ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Whiteboard: [fidefe-profile-management]
Updated•7 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•