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:
Jared Wein 2021-04-26 21:46:08 +00:00
parent 52f9155b1c
commit 9ff67db626
2 changed files with 2 additions and 2 deletions

View File

@ -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"
);

View File

@ -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})`;
},