-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
Description
This is a task list of enhancements required to fully support the above (strictly).
High priority (ideally included in next release)
- Allow interchangeability of
rgbandrgba, andhslandhsla([FEATURE] Support rgba and rgb (etc.) being aliases #797) - Parse color functions which use the "modern" syntax ([FEATURE] Parse color functions with modern syntax #800)
- Support the
nonekeywod in the "modern" syntax - Add tests to confirm that all varieties of
angleare permitted forhue([TASK] Add TestCase forValue\Color#793) - Add tests to confirm that both
numberandpercentageare permitted where allowed (i.e. in "modern"rgbsyntax) ([BUGFIX] Don't renderrgbcolors with%values as hex #803)
Low priority (would be nice to have, but we have other fish to fry in the meantime, so to speak)
- Add rendering option to output color functions using "modern" syntax
- Reject color functions with invalid
lengtharguments, such as10px, including rejectingpercentagearguments where these are not permitted (e.g. in "legacy" syntax) - Parse color functions containing
var()substitutions asColorrather than genericCSSFunction - Support additional color functions (these will currently be parsed as generic CSS functions, which may not work reliably):
-
hwb -
lab -
lch -
oklab -
oklch
-
- Support
colorfunction: - Support relative colors (level 5)