Closed Bug 1935517 Opened 1 year ago Closed 9 months ago

Deprecate --in-content-focus-* variables in favour of --focus-outline-* design tokens

Categories

(Toolkit :: Themes, task, P3)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: hjones, Assigned: cmeade)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp] [acorntractors])

Attachments

(1 file)

We have a series of --in-content-focus-* variables in common-shared.css that are already using our --focus-outline-* design tokens under the hood. It would be a nice bit of cleanup to remove the --in-content-* versions of these variables so that it's clearer to developers which variables they should use in their patches. This should be straightforward with the exception of cases like this one:

outline: 2px solid var(--in-content-focus-outline-color);

which should be changed to:

outline: var(--focus-outline);

That's just to say the replacements should be evaluated on a case by case basis, rather than just doing a find and replace.

Whiteboard: [recomp] → [recomp] [acorntractors]
Priority: -- → P3
Assignee: nobody → cmeade
Status: NEW → ASSIGNED
Pushed by hjones@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/430ef42997c5 https://hg.mozilla.org/integration/autoland/rev/2b2a114e8fe2 Deprecate references to in-content-focus. r=hjones,reusable-components-reviewers,mtigley,desktop-theme-reviewers,credential-management-reviewers,fxview-reviewers,home-newtab-reviewers,nsharpley,nbarrett
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: