-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some docs and add a very minimal general readme (#56)
* fix some docs and add a very minimal general readme * document python3 and coloaide usage * typo's
- Loading branch information
1 parent
569046f
commit ea518da
Showing
9 changed files
with
71 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# TODO : make a README for this mono repo | ||
# PostCSS Plugins [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss] | ||
|
||
[<img alt="build status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] | ||
[<img alt="support chat" src="https://img.shields.io/badge/support-chat-blue.svg" height="20">][git-url] | ||
|
||
[PostCSS Plugins] contains tools and plugins for [PostCSS Preset Env]. | ||
|
||
[PostCSS Preset Env] lets you convert modern CSS into something most browsers | ||
can understand, determining the polyfills you need based on your targeted | ||
browsers or runtime environments. | ||
|
||
[cli-img]: https://github.com/csstools/postcss-plugins/workflows/test/badge.svg | ||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test | ||
[git-img]: https://img.shields.io/badge/support-chat-blue.svg | ||
[git-url]: https://gitter.im/postcss/postcss | ||
|
||
[PostCSS]: https://github.com/postcss/postcss | ||
[PostCSS Plugins]: https://github.com/csstools/postcss-plugins | ||
[PostCSS Preset Env]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ cli( | |
), | ||
); | ||
``` | ||
|
||
[postcss]: https://github.com/postcss/postcss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Color unit tests. | ||
|
||
Reading : | ||
- https://github.com/w3c/csswg-drafts/issues/6816 | ||
- https://github.com/csstools/postcss-lab-function/issues/7 | ||
- https://github.com/w3c/csswg-drafts/issues/5191 | ||
- https://facelessuser.github.io/coloraide/ | ||
|
||
At the moment there is still unspecified behavior around color conversion from `lab`|`lch` to `rgb` or `color()` | ||
|
||
[coloraide](https://facelessuser.github.io/coloraide/) is used to mimic browser behavior. | ||
This allows us to quickly tweak the conversion and test the output against variants produced by coloraide. | ||
|
||
coloraide requires `python3`. | ||
|
||
```bash | ||
# USAGE: | ||
# python3 -m pip install coloraide | ||
# python3 ./test/color/generate.py | ||
``` | ||
|