@csstools/postcss-oklab-function 4.0.5 → 4.0.7
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 +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# Changes to PostCSS OKLab Function
|
|
2
2
|
|
|
3
|
-
### 4.0.
|
|
3
|
+
### 4.0.7
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
_December 27, 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.7`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#307) (patch)
|
|
10
8
|
|
|
11
9
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function/CHANGELOG.md)
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[PostCSS OKLab Function] lets you use `oklab` and `oklch` color functions in
|
|
11
11
|
CSS, following the [CSS Color] specification.
|
|
12
12
|
|
|
13
|
-
```
|
|
13
|
+
```css
|
|
14
14
|
.test-oklab {
|
|
15
15
|
color: oklab(40% 0.001236 0.0039);
|
|
16
16
|
}
|
|
@@ -68,7 +68,7 @@ is preserved. By default, it is not preserved.
|
|
|
68
68
|
postcssOKLabFunction({ preserve: true })
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
```
|
|
71
|
+
```css
|
|
72
72
|
.test-oklab {
|
|
73
73
|
color: oklab(40% 0.001236 0.0039);
|
|
74
74
|
}
|
|
@@ -105,7 +105,7 @@ is wrapped with `@supports` when used in Custom Properties. By default, it is en
|
|
|
105
105
|
postcssOKLabFunction({ enableProgressiveCustomProperties: false })
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
```
|
|
108
|
+
```css
|
|
109
109
|
:root {
|
|
110
110
|
--firebrick: oklab(40% 0.234 0.39);
|
|
111
111
|
}
|
|
@@ -136,7 +136,7 @@ postcssOKLabFunction({
|
|
|
136
136
|
})
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
```
|
|
139
|
+
```css
|
|
140
140
|
.test-oklab {
|
|
141
141
|
color: oklab(40% 0.001236 0.0039);
|
|
142
142
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csstools/postcss-oklab-function",
|
|
3
3
|
"description": "Use oklab() and oklch() color functions in CSS",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.7",
|
|
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.7",
|
|
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",
|