Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oddbird/sass-colors-sample

Sample code for implementing support of CSS color spaces in Sass
https://github.com/oddbird/sass-colors-sample

Last synced: 8 days ago
JSON representation

Sample code for implementing support of CSS color spaces in Sass

Awesome Lists containing this project

README

        

# sass-colors-sample

[CSS Colors Level 4][color-4]
adds support for non-srgb color-spaces,
and additional color formats.
In order to add that support to the [Sass language][sass],
we need to redefine how colors are stored,
and add the necessary tools for
managing multiple color spaces.

This is sample proof-of-concept code,
implementing & testing
some of the required processes and functions,
as we develop the (work in progress)
[Sass colors proposal][proposal].

[color-4]: https://www.w3.org/TR/css-color-4/
[sass]: https://sass-lang.com/
[proposal]: https://css.oddbird.net/sass/color-spaces/proposal/