Skip to content

Commit

Permalink
Bug 1828908 - Update --in-content-deemphasized-text to use transparen…
Browse files Browse the repository at this point in the history
…cy instead of hardcoded color values. r=sfoster

Differential Revision: https://phabricator.services.mozilla.com/D175889
  • Loading branch information
daogottwald committed Apr 20, 2023
1 parent 2f8b671 commit a364552
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions toolkit/themes/shared/global-shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
--arrowpanel-dimmed: color-mix(in srgb, currentColor 17%, transparent);
--arrowpanel-dimmed-further: color-mix(in srgb, currentColor 30%, transparent);

--panel-description-color: color-mix(in srgb, currentColor 60%, transparent);;
--panel-disabled-color: color-mix(in srgb, currentColor 40%, transparent);;
--panel-description-color: color-mix(in srgb, currentColor 60%, transparent);
--panel-disabled-color: color-mix(in srgb, currentColor 40%, transparent);

--popup-notification-body-width: calc(31em - calc(2 * var(--arrowpanel-padding)));

Expand Down
4 changes: 2 additions & 2 deletions toolkit/themes/shared/in-content/common-shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--in-content-page-color: rgb(21, 20, 26);
--in-content-page-background: #fff;
--in-content-text-color: var(--in-content-page-color);
--in-content-deemphasized-text: rgb(91, 91, 102);
--in-content-deemphasized-text: color-mix(in srgb, currentColor 69%, transparent);
--in-content-box-background: #fff;
--in-content-box-background-odd: rgba(12, 12, 13, 0.05); /* grey 90 a05 */
--in-content-box-border-color: color-mix(in srgb, currentColor 41%, transparent);
Expand Down Expand Up @@ -133,7 +133,7 @@
* in-content privileged pages and plain-text documents). */
--in-content-page-background: rgb(28,27,34);
--in-content-page-color: rgb(251,251,254);
--in-content-deemphasized-text: rgb(191,191,201);
--in-content-deemphasized-text: color-mix(in srgb, currentColor 75%, transparent);

--in-content-box-background: rgb(35, 34, 43);
--in-content-box-background-odd: rgba(249,249,250,0.05);
Expand Down

0 comments on commit a364552

Please sign in to comment.