Closed Bug 1845679 Opened 10 months ago Closed 10 months ago

Add an internal light-dark() color function to allow defining colors reacting to color-scheme.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

Much like system colors.

This implement something like what's proposed in
https://github.com/w3c/csswg-drafts/issues/7561, but the simplest
version possible, until issues are resolved.

This will allow the front-end to experiment with it and use it (and we
can update to the standard feature once there's a spec for it).

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1da6261360f2
Add an internal light-dark() function to allow defining colors reacting to color-scheme. r=dshin
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: