Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More strange ways to call rgb/rgba function. #77

Merged
merged 2 commits into from
Sep 27, 2020
Merged

More strange ways to call rgb/rgba function. #77

merged 2 commits into from
Sep 27, 2020

Conversation

kaj
Copy link
Owner

@kaj kaj commented Sep 27, 2020

Support rgba(r g b / a) and hsla(h s l / a) functions, i.e. the channels parameter with div-separated alpha channel.

@kaj kaj merged commit 72d6192 into master Sep 27, 2020
@kaj kaj deleted the more-colors branch September 27, 2020 15:36
kaj added a commit that referenced this pull request Oct 3, 2020
Progress: 2234 of 5510 tests passed in dart-sass compatiblilty mode.

* PR #76 and #78: Target dart-sass rather than libsass compatibilty.
  This sets the target when testing and changes some different
  behaviour, including how strings are parsed and handled.
* PR #75 from @divergentdave: Parse and add `Value` variants for
  BigInt numbers
* PR #77: Support `rgba(r g b / a)` and `hsla(h s l / a)` functions,
  i.e. the `channels` parameter with div-separated alpha channel.
* Fix `@import` indention.
* Improve function default argument parsing and dont panic in
  `parse_value_data`.
* Handle dictionary-ellipsis style call-by-varargs for functions.
* PR #73 from @divergentdave: Remove three unwraps from escaped_char
* PR #71 from @connorskees: Further optimize number printing
* Update travis url in README.
* PR #70 from @svenstaro: Mention grass rather than sassers, as
  sassers appears to be dead while grass is in rather active
  development.
* Add a CHANGELOG.md
* Update spec to 2020-09-17.
* Update num-rational to 0.3.0.

Tested with rustc 1.46.0 (04488afe3 2020-08-24),
1.44.1 (c7087fe00 2020-06-17), 1.42.0 (b8cedc004 2020-03-09),
1.40.0 (73528e339 2019-12-16), 1.38.0 (625451e37 2019-09-23),
1.47.0-beta.7 (e28d2bd09 2020-10-01), and
1.48.0-nightly (8876ffc92 2020-10-02)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant