Open Bug 1705829 Opened 4 years ago Updated 3 years ago

Unify CSS variable fallback patterns

Categories

(Firefox :: Theme, task, P3)

task
Points:
3

Tracking

()

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-cleanups])

Proton defines its colours in theme manifests and browser-custom-colors.inc.css. In some situations, neither is read: for example, when the system theme is applied on Linux or in High Contrast Mode. To handle this, we've defined fallbacks for those colours. Most of them are in browser.inc.css. However, some fallbacks are defined at the point the rule is used, like is the case for buttons-primary-button-* rules. We should settle on one approach. My preference is for the former, so fallbacks are consistent everywhere.

Priority: -- → P3
Whiteboard: [proton-cleanups]
You need to log in before you can comment on or make changes to this bug.