Skip to content

Commit 9c5c59f

Browse files
authored
Add light-dark() image values feature (web-platform-dx#3974)
Issue: web-platform-dx#3962
1 parent bc9fb50 commit 9c5c59f

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

features/light-dark-image.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: light-dark() image values
2+
description: The `light-dark()` CSS function accepts, in addition to colors, two `<image>` values, such as a gradient or URL, and uses one depending on the current color scheme.
3+
spec: https://drafts.csswg.org/css-color-5/#typedef-light-dark-image
4+
compat_features:
5+
- css.types.color.light-dark.image_value
6+
# Future merge candidate with `light-dark`

features/light-dark-image.yml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Generated from: light-dark-image.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- css.types.color.light-dark.image_value

0 commit comments

Comments
 (0)