Open Bug 1885030 Opened 11 months ago Updated 11 months ago

Audit tokens in prefers-colors blocks and consider removing them or migrating them to forced-colors

Categories

(Toolkit :: Themes, task)

task

Tracking

()

People

(Reporter: hjones, Unassigned)

References

(Blocks 1 open bug)

Details

Currently we have tokens defined for both prefers-contrast and forced-colors media queries.

Historically we have tended to define Windows HCM styles and tokens in @media (prefers-contrast) blocks. This was a mistake since those styles would also get applied in Mac OS / Windows / Linux increased-contrast modes, even though designs and CSS styling for UI in increased-contrast modes largely do not exist.

More recently we have started adding HCM tokens in @media (forced-colors) blocks, but some older tokens are still in prefers-contrast blocks. We should audit the prefers-contrast tokens and consider either migrating them to forced-colors or removing them entirely.

You need to log in before you can comment on or make changes to this bug.