Closed Bug 1888414 Opened 2 years ago Closed 2 years ago

Font design tokens in `.system-font-size` contexts yield unexpected results

Categories

(Toolkit :: Themes, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1889188

People

(Reporter: mstriemer, Unassigned)

References

Details

(Whiteboard: [recomp])

The design token font-sizes aren't intended to be used in the .system-font-size contexts right now. Normally when we're using the system font size in the browser chrome these tokens are unset. So they no longer have any meaning when we don't set a root font size of --font-size-root.

These tokens should perhaps be unset when using .system-font-size and in this case we'll likely need to update text-and-typography.css to also support system font sizes somehow so these contexts have a consistent way of setting fonts of various sizes

This is the same as bug 1889188, right? Please reopen if I'm missing something.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1889188
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.