[csswg-drafts] [css-images-4] [css-color-5] - [color-interpolation-method] should allow custom idents (#7377)

argyleink has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images-4] [css-color-5] - [color-interpolation-method] should allow custom idents ==
Given Color 5 allows loading of [custom color profiles](https://www.w3.org/TR/css-color-5/#at-profile), those loaded spaces should be available to use in [CSS Images 4 with gradients](https://drafts.csswg.org/css-images-4/#linear-gradients) like:

```css
@color-profile --myspace {
  src: url(https://myspace.colors/imaginary-path.icc);
}

.card {
  color: color(--myspace 200 50 50);
  background: linear-gradient(to bottom right in --myspace, 
    color(--myspace 200 50 50), 
    color(--myspace 100 50 50)
  );
}

or even

.card {
  background: linear-gradient(in --myspace, lime, blue);
}
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7377 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 June 2022 15:24:16 UTC