Closed Bug 1828203 Opened 3 years ago Closed 3 years ago

Migration Wizard's deemphasized-text class should only set a different color when not using prefers-contrast

Categories

(Firefox :: Migration, defect, P3)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: mconley, Assigned: portiawuu)

References

Details

Attachments

(1 file)

We have a class in migration-wizard.css called deemphasized-text which sets color: var(--in-content-deemphasized-text); as one of its rules.

Looking at the spec, we only want to set that color when we don't prefer contrast, so we should make this look more like:

.deemphasized-text {
  font-size: 0.84em;
}

@media not (prefers-contrast) {
  .deemphasized-text {
    color: var(--in-content-deemphasized-text);
  }
}
Assignee: nobody → portiawuu
Severity: -- → S4
Priority: -- → P3
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b70f6a1ecee Migration Wizard's deemphasized-text class should only set a different color when not using prefers-contrast. r=mconley
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: