sass 1.64.2 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -56
- package/package.json +1 -1
- package/sass.dart.js +25038 -14563
- package/types/value/color.d.ts +21 -0
package/types/value/color.d.ts
CHANGED
|
@@ -12,6 +12,13 @@ export class SassColor extends Value {
|
|
|
12
12
|
/**
|
|
13
13
|
* Creates an RGB color.
|
|
14
14
|
*
|
|
15
|
+
* **Only** `undefined` should be passed to indicate a missing `alpha`. If
|
|
16
|
+
* `null` is passed instead, it will be treated as a [missing component] in
|
|
17
|
+
* future versions of Dart Sass. See [breaking changes] for details.
|
|
18
|
+
*
|
|
19
|
+
* [missing component]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#missing_color_components
|
|
20
|
+
* [breaking changes]: /documentation/breaking-changes/null-alpha
|
|
21
|
+
*
|
|
15
22
|
* @throws `Error` if `red`, `green`, and `blue` aren't between `0` and
|
|
16
23
|
* `255`, or if `alpha` isn't between `0` and `1`.
|
|
17
24
|
*/
|
|
@@ -25,6 +32,13 @@ export class SassColor extends Value {
|
|
|
25
32
|
/**
|
|
26
33
|
* Creates an HSL color.
|
|
27
34
|
*
|
|
35
|
+
* **Only** `undefined` should be passed to indicate a missing `alpha`. If
|
|
36
|
+
* `null` is passed instead, it will be treated as a [missing component] in
|
|
37
|
+
* future versions of Dart Sass. See [breaking changes] for details.
|
|
38
|
+
*
|
|
39
|
+
* [missing component]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#missing_color_components
|
|
40
|
+
* [breaking changes]: /documentation/breaking-changes/null-alpha
|
|
41
|
+
*
|
|
28
42
|
* @throws `Error` if `saturation` or `lightness` aren't between `0` and
|
|
29
43
|
* `100`, or if `alpha` isn't between `0` and `1`.
|
|
30
44
|
*/
|
|
@@ -38,6 +52,13 @@ export class SassColor extends Value {
|
|
|
38
52
|
/**
|
|
39
53
|
* Creates an HWB color.
|
|
40
54
|
*
|
|
55
|
+
* **Only** `undefined` should be passed to indicate a missing `alpha`. If
|
|
56
|
+
* `null` is passed instead, it will be treated as a [missing component] in
|
|
57
|
+
* future versions of Dart Sass. See [breaking changes] for details.
|
|
58
|
+
*
|
|
59
|
+
* [missing component]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#missing_color_components
|
|
60
|
+
* [breaking changes]: /documentation/breaking-changes/null-alpha
|
|
61
|
+
*
|
|
41
62
|
* @throws `Error` if `whiteness` or `blackness` aren't between `0` and `100`,
|
|
42
63
|
* or if `alpha` isn't between `0` and `1`.
|
|
43
64
|
*/
|