@csstools/postcss-gradients-interpolation-method 5.0.5 → 5.0.6
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/CHANGELOG.md +3 -5
- package/README.md +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# Changes to PostCSS Gradients Interpolation Method
|
|
2
2
|
|
|
3
|
-
### 5.0.
|
|
3
|
+
### 5.0.6
|
|
4
4
|
|
|
5
|
-
_November
|
|
5
|
+
_November 11, 2024_
|
|
6
6
|
|
|
7
|
-
- Updated [`@csstools/css-
|
|
8
|
-
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`3.0.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#304) (patch)
|
|
9
|
-
- Updated [`@csstools/css-color-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser) to [`3.0.5`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#305) (patch)
|
|
7
|
+
- Updated [`@csstools/css-color-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser) to [`3.0.6`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#306) (patch)
|
|
10
8
|
|
|
11
9
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gradients-interpolation-method/CHANGELOG.md)
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[PostCSS Gradients Interpolation Method] lets you use different interpolation methods in CSS gradient functions following [CSS Images Module 4].
|
|
6
6
|
|
|
7
|
-
```
|
|
7
|
+
```css
|
|
8
8
|
.example {
|
|
9
9
|
background-image: linear-gradient(in oklch, hsl(0deg 85% 75%) 0%, hsl(180deg 80% 65%) 100%);
|
|
10
10
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
For best results you should always provide at least the color and position for each color stop.
|
|
40
40
|
Double position color stops are supported.
|
|
41
41
|
|
|
42
|
-
```
|
|
42
|
+
```css
|
|
43
43
|
.foo {
|
|
44
44
|
/* Only a color: can't transform */
|
|
45
45
|
background-image: linear-gradient(in oklch, black 0%, green, blue 100%);
|
|
@@ -53,7 +53,7 @@ Double position color stops are supported.
|
|
|
53
53
|
> Variable colors are not supported.
|
|
54
54
|
> We can not mix colors when the color is a variable.
|
|
55
55
|
|
|
56
|
-
```
|
|
56
|
+
```css
|
|
57
57
|
.foo {
|
|
58
58
|
--red: red;
|
|
59
59
|
/* Color stop variable : can't transform */
|
|
@@ -93,7 +93,7 @@ is preserved. By default, it is preserved.
|
|
|
93
93
|
postcssGradientsInterpolationMethod({ preserve: false })
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
```
|
|
96
|
+
```css
|
|
97
97
|
.example {
|
|
98
98
|
background-image: linear-gradient(in oklch, hsl(0deg 85% 75%) 0%, hsl(180deg 80% 65%) 100%);
|
|
99
99
|
}
|
|
@@ -126,7 +126,7 @@ is wrapped with `@supports` when used in Custom Properties. By default, it is en
|
|
|
126
126
|
postcssGradientsInterpolationMethod({ enableProgressiveCustomProperties: false })
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
```
|
|
129
|
+
```css
|
|
130
130
|
.example {
|
|
131
131
|
background-image: linear-gradient(in oklch, hsl(0deg 85% 75%) 0%, hsl(180deg 80% 65%) 100%);
|
|
132
132
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csstools/postcss-gradients-interpolation-method",
|
|
3
3
|
"description": "Use interpolation methods in CSS gradient functions",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.6",
|
|
5
5
|
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
|
6
6
|
"license": "MIT-0",
|
|
7
7
|
"funding": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@csstools/css-color-parser": "^3.0.
|
|
41
|
+
"@csstools/css-color-parser": "^3.0.6",
|
|
42
42
|
"@csstools/css-parser-algorithms": "^3.0.4",
|
|
43
43
|
"@csstools/css-tokenizer": "^3.0.3",
|
|
44
44
|
"@csstools/postcss-progressive-custom-properties": "^4.0.0",
|