Skip to content

allow light-dark()#2412

Merged
mbostock merged 6 commits into
mainfrom
mbostock/light-dark
Apr 6, 2026
Merged

allow light-dark()#2412
mbostock merged 6 commits into
mainfrom
mbostock/light-dark

Conversation

@mbostock

@mbostock mbostock commented Apr 6, 2026

Copy link
Copy Markdown
Member

Fixes #2409. I looked at the other color functions we might want to allow, but this is the only one we don’t yet allow that has wide availability in browsers.

@Fil

Fil commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Do we want to use this in the box mark and treeLink transform?
https://github.com/observablehq/plot/pull/2391/changes

@mbostock

mbostock commented Apr 6, 2026

Copy link
Copy Markdown
Member Author

Added.

@mbostock mbostock merged commit 5a84c28 into main Apr 6, 2026
1 check passed
@mbostock mbostock deleted the mbostock/light-dark branch April 6, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow light-dark() function in color values

2 participants