Skip to content

Commit

Permalink
[Function Units] Mark as accepted (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Oct 28, 2022
1 parent 36da49c commit 73d3166
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions accepted/function-units.changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Draft 1.1

* Fix a few places where `color.change()` was incorrectly referred to as
`color.scale()`.

## Draft 1

* Initial draft.
12 changes: 6 additions & 6 deletions proposal/function-units.md → accepted/function-units.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Function Units: Draft 1
# Function Units: Draft 1.1

*([Issue](https://github.com/sass/sass/issues/3374))*
*([Issue](https://github.com/sass/sass/issues/3374), [Changelog](function-units.changes.md))*

This proposal restricts the use of invalid units in built-in Sass functions.

Expand All @@ -12,12 +12,12 @@ This proposal restricts the use of invalid units in built-in Sass functions.
* [Alpha Units](#alpha-units)
* [Functions](#functions)
* [`color.adjust()`](#coloradjust)
* [`color.scale()`](#colorscale)
* [`color.change()`](#colorchange)
* [`color.mix()`](#colormix)
* [`list.nth()` and `list.set-nth()`](#listnth-and-listset-nth)
* [Deprecation Process](#deprecation-process)
* [`color.adjust()`](#coloradjust-1)
* [`color.scale()`](#colorscale-1)
* [`color.change()`](#colorchange-1)
* [`color.mix()`](#colormix-1)
* [`list.nth()` and `list.set-nth()`](#listnth-and-listset-nth-1)

Expand Down Expand Up @@ -92,7 +92,7 @@ Replace the "If `$alpha` isn't null" block with the following:

* Set `alpha` to `alpha + $alpha` clamped between 0 and 1.

### `color.scale()`
### `color.change()`

Replace

Expand Down Expand Up @@ -139,7 +139,7 @@ Add the following to the beginning of the "If `$alpha` isn't null" block:

* If `$alpha` has any units, emit a deprecation warning.

### `color.scale()`
### `color.change()`

Replace

Expand Down

0 comments on commit 73d3166

Please sign in to comment.