mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1703044 - Update the caclulation of the panel secondary text to get it closer to the UX spec. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112809
This commit is contained in:
parent
52f9155b1c
commit
9ff67db626
@ -76,7 +76,7 @@ add_task(async function test_popup_styling(browser, accDoc) {
|
||||
|
||||
Assert.equal(
|
||||
arrowContentComputedStyle.getPropertyValue("--panel-description-color"),
|
||||
`rgba(${hexToRGB(POPUP_TEXT_COLOR).join(", ")}, 0.65)`,
|
||||
`rgba(${hexToRGB(POPUP_TEXT_COLOR).join(", ")}, 0.7)`,
|
||||
"Popup text description color should have been themed"
|
||||
);
|
||||
|
||||
|
@ -96,7 +96,7 @@ const toolkitVariableMap = [
|
||||
);
|
||||
element.style.setProperty(
|
||||
descriptionColorVariable,
|
||||
`rgba(${r}, ${g}, ${b}, 0.65)`
|
||||
`rgba(${r}, ${g}, ${b}, 0.7)`
|
||||
);
|
||||
return `rgba(${r}, ${g}, ${b}, ${a})`;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user