red-data-tools / red-colors

Color features for Ruby
MIT License
4 stars 3 forks source link

Support CSS Color Module Level 4 #19

Open mrkn opened 2 years ago

mrkn commented 2 years ago

https://www.w3.org/TR/css-color-4/

mrkn commented 2 years ago

This depends on #20, #21, and #22.

nanobowers commented 2 years ago

Hi @mrkn , with the release of CSS4, I think the module (previously class) should've been CSS3 rather than CSS. This was poor planning on my part. https://github.com/red-data-tools/red-colors/blob/3dbb2b5e7c4874eb3e81d8ca9fb193508e1ac36a/lib/colors/css3.rb#L2

In any event, I presume the CSS4 support should be explicit and put into a CSS4 module.

mrkn commented 2 years ago

Both CSS3 and CSS4 syntaxes can be supported in single CSS module. I don't know why we should separate it.