Bug 1916820 - Replace in-content-accent-color-active with color-accent-primary-active token r=hjones,desktop-theme-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D228359
This commit is contained in:
mark 2024-11-07 20:10:05 +00:00
parent dac58a0993
commit e55c8b7063

View File

@ -20,7 +20,6 @@
--in-content-item-hover-text: var(--in-content-page-color);
--in-content-item-selected: var(--in-content-primary-button-background);
--in-content-item-selected-text: var(--in-content-primary-button-text-color);
--in-content-accent-color-active: var(--in-content-primary-button-background-hover);
--in-content-border-invalid: var(--red-50);
--in-content-border-color: #d7d7db;
--in-content-button-text-color: var(--in-content-text-color);
@ -154,8 +153,6 @@
--in-content-item-selected: SelectedItem;
--in-content-item-selected-text: SelectedItemText;
--in-content-accent-color-active: SelectedItem;
/* This is not great, but there is no suitable keyword for this.
* In theory, we shouldn't be conveying invalid state just with a colour
* change... */
@ -787,7 +784,7 @@ html|*#categories > html|*.category:dir(rtl) {
#categories > .category[selected]:hover:active,
#categories > .category.selected:hover:active {
color: var(--in-content-accent-color-active);
color: var(--color-accent-primary-active);
}
}